Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement zksnark prover in javascript #5

Open
barryWhiteHat opened this issue May 2, 2018 · 2 comments
Open

Implement zksnark prover in javascript #5

barryWhiteHat opened this issue May 2, 2018 · 2 comments

Comments

@barryWhiteHat
Copy link
Owner

Right now we have to call the cpp code to make a zksnark proof before withdrawing. It would be better if this was done in javascript so that cpp only needs to be called for parameter generation.

Note this will involve loading the verification key which is ~800MB

@barryWhiteHat
Copy link
Owner Author

Or call the cpp prove function from javascript

@barryWhiteHat
Copy link
Owner Author

Right now i call the cpp funciton from python. But I would be nice to have a pure python implementation. But that is unlikely. ZoKrates are doing some work with compileing witness generation to WAS which could work for us here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant