965 B
965 B
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
Checklist for batch size changing
find and replace the CHUNK_TREE_HEIGHT =
in following files
circuits/BatchTreeUpdate.circom
contracts/TornadoTrees.sol
tornadoTrees.test.js
build large circuits
- docker build . -t tornadocash/tornado-trees