b5b3474165 | ||
---|---|---|
.vscode | ||
circuits | ||
contracts | ||
lib | ||
migrations | ||
scripts | ||
test | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
README.md | ||
package-lock.json | ||
package.json | ||
truffle-config.js |
README.md
Testing
npm i
npx truffle compile
npx truffle test
- it may fail for the first time, just run one more time.
Short version:
We have a merkle tree of deposit commitments Pedersen(secret + nullifier)
, merkle tree uses MiMC
On withdrawal a SNARK proof verifies merkle proof and leaf preimage, .....