Tornado Cash Classic Merkle tree contracts and circuits.
circuits | ||
contracts | ||
optimize | ||
scripts | ||
src | ||
test | ||
hardhat.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
Tornado.cash trees
This repo implements a more optimized version of the TornadoTrees mechanism.
Dependencies
- node 12
- yarn
- zkutil (
brew install rust && cargo install zkutil
)
Start
$ yarn
$ yarn circuit
$ yarn test
Mainnet testing
$ yarn circuit
$ npx hardhat node --fork <https://eth-mainnet.alchemyapi.io/v2/API_KEY> --fork-block-number 11827889
$ npx hardhat test
build large circuits
Make sure you have enough RAM
docker build . -t tornadocash/tornado-trees