-
Notifications
You must be signed in to change notification settings - Fork 86
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
New package for general-purpose zero-knowledge circuits #76
Conversation
1140533
to
3f1ccad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial-review: great configs but the npm scripts are not working right now (both circom 2.1.5
and 2.1.6
). Left some nits and comments but great work so far 👍
yarn circom:compile poseidon-proof
===| Compiling the circuit |===
Error: Compiler error:
Error: Command failed: circom --sym --wasm --r1cs -p bn128 -o ./build/poseidon-proof -l ../../node_modules/circomlib/circuits --verbose --inspect --O1 ./circuits/main/poseidon-proof.circom
error[P1014]: The file ../poseidon-proof.circom to be included has not been found
= Consider using compilation option -l to indicate include paths
It's a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! This is going to be a masterpiece for circuit development not only for PSE. Just left some comments and nits but ready to be merged :)
Description
A new package for providing general-purpose zero-knowledge circuits has been added. As other projects/protocols become modularized, reusable circuits could be managed in this package, tested, and documented.
@zk-kit/circuits
can be installed with NPM (or Yarn) and its circuits accessed fromnode_modules/@zk-kit/circuits
.Related Issue
Closes #73
Does this introduce a breaking change?