tornado-trees/README.md
2021-02-24 22:07:08 +03:00

965 B

Tornado.cash trees Build Status

This repo implements a more optimized version of the TornadoTrees mechanism.

Dependencies

  1. node 12
  2. yarn
  3. 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

  1. circuits/BatchTreeUpdate.circom
  2. contracts/TornadoTrees.sol
  3. tornadoTrees.test.js

build large circuits

  1. docker build . -t tornadocash/tornado-trees