Go to file
Danil Kovtonyuk 838c661dfd
Arbitrum
2021-11-22 16:47:21 +10:00
abi initial 2020-12-15 18:10:11 +03:00
deployer@c6526c7f02 update salt 2021-02-14 11:02:24 +03:00
src Arbitrum 2021-11-22 16:47:21 +10:00
tornado-anonymity-mining@ca446c79cd add tornado proxy light 2021-03-29 09:35:19 +03:00
tornado-core@54a7bdcb04 add comp instance deployment 2021-03-11 23:20:09 +03:00
.env.example Arbitrum 2021-11-22 16:47:21 +10:00
.eslintrc initial 2020-12-15 18:10:11 +03:00
.gitignore initial 2020-12-15 18:10:11 +03:00
.gitmodules add tornado proxy light 2021-03-29 09:35:19 +03:00
.prettierrc initial 2020-12-15 18:10:11 +03:00
README.md Arbitrum 2021-11-22 16:47:21 +10:00
build.sh arbitrum related changes 2021-05-25 13:39:01 +03:00
instances.js Arbitrum 2021-11-22 16:47:21 +10:00
package.json update salt 2021-02-14 11:02:24 +03:00
yarn.lock initial 2020-12-15 18:10:11 +03:00

README.md

Dependencies

  1. node 12
  2. yarn

Usage

git clone --recursive https://github.com/tornadocash/tornado-deploy -b arbitrum
cd tornado-deploy
cp .env.example .env
yarn

Edit instances.js config to choose what Tornado pool you would like to deploy

When you are ready, run

yarn build

The result of the build is actions.json file, that contains everything that is needed to deploy contracts on Ethereum along with expected deploy addresses.

Reproducible build

In order to generate exactly the same actions.json the code has to be compiled in /private/tmp/tornado-deploy dir because solidity compiler includes a hash of full path to files into contact bytecode as swarm hash. If you compile in other dir this swarm hash will be different. It doesn't affect contract execution but your actions.json will have a different hash from the initiation version.

Verify addresses

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