mirror of
https://github.com/tornadocash/tornado-deploy.git
synced 2025-01-15 15:41:05 +01:00
abi | ||
airdrop@d3d5a4c0df | ||
deployer@4dd141a398 | ||
src | ||
torn-token@e65817d298 | ||
tornado-anonymity-mining@95f6bbfe17 | ||
tornado-governance@8b6474c437 | ||
.env.example | ||
.eslintrc | ||
.gitignore | ||
.gitmodules | ||
.prettierrc | ||
build.sh | ||
package.json | ||
README.md | ||
yarn.lock |
Dependencies
- node 12
- yarn
- zkutil (
brew install rust && cargo install zkutil
)
Usage
git clone --recursive https://github.com/tornadocash/tornado-deploy
cd tornado-deploy
yarn
cp .env.example .env
# optionally copy production snark circuits
mkdir -p tornado-anonymity-mining/build && cp -R ~/Downloads/circuits ./tornado-anonymity-mining/build
yarn build
Note: build script will globally yarn link
torn-token
package
Note: build script will not recompile snark circuit if compilation result already exists
Verify addresses
cat actions.json | jq '.actions[] | {domain,expectedAddress,contract} '