Contracts associated to the protocol native governance token.
Go to file
2022-09-02 17:59:39 +00:00
contracts initialise 2022-09-02 17:59:39 +00:00
config.js initialise 2022-09-02 17:59:39 +00:00
LICENSE initialise 2022-09-02 17:59:39 +00:00
package.json initialise 2022-09-02 17:59:39 +00:00
README.md initialise 2022-09-02 17:59:39 +00:00

Tornado.cash token (TORN) Build Status

Dependencies

  1. node 12
  2. yarn

Start

$ yarn
$ cp .env.example .env
$ yarn test

Deploying

Deploy to Kovan:

$ yarn deploy:kovan

Mainnet deploy instructions

  1. in torn-token repo cp .env.example .env

  2. Specify deployment PRIVATE_KEY in the .env. It will be the owner during deployment.

  3. Specify gas price in truffle.js

  4. yarn deploy:mainnet

  5. go to mining repo

  6. cp .env.example .env

  7. Specify private key and TORN address

  8. yarn yarn deploy:mainnet

  9. go to governance repo

  10. ...

  11. ...

  12. ...

  13. in this repo modify the config.js file. Put all addresses that you got during deployment

  14. set ONLY_INITIALIZE to true and TORN_TO_INITIALIZE to the token address

  15. yarn deploy:mainnet