Tornado Cash Classic Merkle tree contracts and circuits
Go to file
2021-03-22 20:16:14 +03:00
.github/workflows changeTreeHeight script 2021-02-26 12:14:43 +03:00
circuits change index logic, fixes CVF-38. Update circom version. 2021-03-21 02:26:54 +03:00
contracts fix CVF-21 2021-03-22 20:16:14 +03:00
optimize init 2021-02-01 16:40:32 +03:00
scripts changeTreeHeight script 2021-02-26 12:14:43 +03:00
src change index logic, fixes CVF-38. Update circom version. 2021-03-21 02:26:54 +03:00
test lint 2021-03-06 15:21:44 +03:00
.dockerignore init 2021-02-01 16:40:32 +03:00
.editorconfig init 2021-02-01 16:40:32 +03:00
.env.example fix CI 2021-02-05 22:46:25 +03:00
.eslintrc init 2021-02-01 16:40:32 +03:00
.gitattributes init 2021-02-01 16:40:32 +03:00
.gitignore add migration 2021-02-02 14:32:44 -08:00
.nvmrc init 2021-02-01 16:40:32 +03:00
.prettierignore lint 2021-02-02 14:38:11 +03:00
.prettierrc init 2021-02-01 16:40:32 +03:00
.solhint.json init 2021-02-01 16:40:32 +03:00
Dockerfile docker update 2021-02-17 22:15:45 +03:00
hardhat.config.js remove extra config 2021-02-18 20:51:31 +03:00
LICENSE init 2021-02-01 16:40:32 +03:00
package.json change index logic, fixes CVF-38. Update circom version. 2021-03-21 02:26:54 +03:00
README.md readme 2021-03-06 15:08:11 +03:00
yarn.lock change index logic, fixes CVF-38. Update circom version. 2021-03-21 02:26:54 +03:00

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

build large circuits

Make sure you have enough RAM

docker build . -t tornadocash/tornado-trees