mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 09:47:13 +01:00
Tornado cash. Non-custodial private transactions on Ethereum.
.vscode | ||
circuits | ||
contracts | ||
lib | ||
migrations | ||
scripts | ||
test | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
README.md | ||
truffle-config.js |
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, .....