Tornado Cash Classic Merkle tree contracts and circuits
Go to file
2023-09-18 06:12:33 -07:00
.github/workflows changeTreeHeight script 2021-02-26 12:14:43 +03:00
circuits Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07:00
contracts arg explanation update for _currentRoot for updateDepositTree 2022-03-08 11:18:53 +07:00
optimize Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07:00
scripts Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07:00
src Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07:00
test Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07: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
.npmrc Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07: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 Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07:00
README.md readme 2021-03-06 15:08:11 +03:00
yarn.lock Update dependencies & prepare package to self-hosting on gitea registry 2023-09-18 06:12:33 -07: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