Go to file
poma 83e937bd00
init submodules
2020-12-15 18:25:56 +03:00
abi initial 2020-12-15 18:10:11 +03:00
airdrop@d3d5a4c0df init submodules 2020-12-15 18:25:56 +03:00
deployer@5b83810b44 init submodules 2020-12-15 18:25:56 +03:00
src init submodules 2020-12-15 18:25:56 +03:00
torn-token@ed68304596 init submodules 2020-12-15 18:25:56 +03:00
tornado-anonymity-mining@76abfe3b06 init submodules 2020-12-15 18:25:56 +03:00
tornado-governance@47cd937085 init submodules 2020-12-15 18:25:56 +03:00
.env.example initial 2020-12-15 18:10:11 +03:00
.eslintrc initial 2020-12-15 18:10:11 +03:00
.gitignore initial 2020-12-15 18:10:11 +03:00
.gitmodules init submodules 2020-12-15 18:25:56 +03:00
.prettierrc initial 2020-12-15 18:10:11 +03:00
README.md init submodules 2020-12-15 18:25:56 +03:00
build.sh init submodules 2020-12-15 18:25:56 +03:00
package.json init submodules 2020-12-15 18:25:56 +03:00
yarn.lock initial 2020-12-15 18:10:11 +03:00

README.md

Dependencies

  1. node 12
  2. yarn
  3. zkutil (brew install rust && cargo install zkutil)

Usage

git clone --recursive https://github.com/tornadocash/tornado-deploy
cd tornado-deploy
npm i
cp .env.example .env
npm run start

Note: build script will globally yarn link torn-token package Note: build script will not recompile snark circuit if compilation result already exists

How to use local npm packages:

# Remember that torn-token packages links to here
cd torn-token
yarn link

# Install torn-token package from local source (create symlink ./node_modules/torn-token -> <remembered torn-token path>)
cd ../tornado-governance
yarn link torn-token

Verify addresses

cat actions.json | jq '.actions[] | {domain,expectedAddress,contract} '