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_KEY
in 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.js
file. Put all addresses that you got during deployment -
set
ONLY_INITIALIZE
totrue
andTORN_TO_INITIALIZE
to the token address -
yarn deploy:mainnet