Contracts associated to the protocol native governance token.
| contracts | ||
| config.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
Tornado.cash token (TORN) 
Dependencies
- node 12
- yarn
Start
$ yarn
$ cp .env.example .env
$ yarn test
Deploying
Deploy to Kovan:
$ yarn deploy:kovan
Mainnet deploy instructions
-
in torn-token repo
cp .env.example .env -
Specify deployment
PRIVATE_KEYin the.env. It will be the owner during deployment. -
Specify gas price in
truffle.js -
yarn deploy:mainnet -
go to mining repo
-
cp .env.example .env -
Specify private key and TORN address
-
yarn
yarn deploy:mainnet -
go to governance repo
-
...
-
...
-
...
-
in this repo modify the
config.jsfile. Put all addresses that you got during deployment -
set
ONLY_INITIALIZEtotrueandTORN_TO_INITIALIZEto the token address -
yarn deploy:mainnet