mirror of
https://github.com/tornadocash/torn-token.git
synced 2024-12-27 15:17:56 +01:00
.github/workflows | ||
contracts | ||
lib | ||
scripts | ||
test | ||
.editorconfig | ||
.env.example | ||
.eslintrc | ||
.gitattributes | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
.solhint.json | ||
config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
truffle.js | ||
yarn.lock |
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