Go to file
2020-12-15 21:13:13 +03:00
.github/workflows enable CI 2020-12-15 21:13:13 +03:00
contracts initial 2020-12-15 18:05:35 +03:00
lib initial 2020-12-15 18:05:35 +03:00
scripts initial 2020-12-15 18:05:35 +03:00
test initial 2020-12-15 18:05:35 +03:00
.editorconfig initial 2020-12-15 18:05:35 +03:00
.env.example initial 2020-12-15 18:05:35 +03:00
.eslintrc initial 2020-12-15 18:05:35 +03:00
.gitattributes initial 2020-12-15 18:05:35 +03:00
.gitignore initial 2020-12-15 18:05:35 +03:00
.nvmrc initial 2020-12-15 18:05:35 +03:00
.prettierignore initial 2020-12-15 18:05:35 +03:00
.prettierrc initial 2020-12-15 18:05:35 +03:00
.solhint.json initial 2020-12-15 18:05:35 +03:00
config.js initial 2020-12-15 18:05:35 +03:00
LICENSE initial 2020-12-15 18:05:35 +03:00
package.json initial 2020-12-15 18:05:35 +03:00
README.md initial 2020-12-15 18:05:35 +03:00
truffle.js initial 2020-12-15 18:05:35 +03:00
yarn.lock initial 2020-12-15 18:05:35 +03: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