mirror of
https://github.com/tornadocash/tornado-deploy.git
synced 2025-01-15 23:47:56 +01:00
update readme
This commit is contained in:
parent
a81117a4b9
commit
9c4035f15b
@ -12,7 +12,7 @@ SALT=0x0000000000000000000000000000000000000000000000000000000047941987
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
PRIVATE_KEY=
|
PRIVATE_KEY=0x
|
||||||
RPC_URL=
|
RPC_URL=
|
||||||
NET_ID=42
|
NET_ID=42
|
||||||
GAS_PRICE_IN_WEI=123000000000
|
GAS_PRICE_IN_WEI=123000000000
|
||||||
|
16
README.md
16
README.md
@ -2,25 +2,23 @@
|
|||||||
|
|
||||||
1. node 12
|
1. node 12
|
||||||
2. yarn
|
2. yarn
|
||||||
3. zkutil (`brew install rust && cargo install zkutil`) (needed only for circuit compilation and setup)
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone --recursive https://github.com/tornadocash/tornado-deploy
|
git clone --recursive https://github.com/tornadocash/tornado-deploy -b tornado-core
|
||||||
cd tornado-deploy
|
cd tornado-deploy
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
# optionally copy production snark circuits
|
|
||||||
mkdir -p tornado-anonymity-mining/build && cp -R ~/Downloads/circuits ./tornado-anonymity-mining/build
|
|
||||||
|
|
||||||
yarn build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: build script will globally `yarn link` `torn-token` package
|
Edit `instances.js` config to choose what Tornado pool you would like to deploy
|
||||||
|
|
||||||
Note: build script will not recompile snark circuit if compilation result already exists
|
When you are ready, run
|
||||||
|
|
||||||
|
```
|
||||||
|
yarn build
|
||||||
|
```
|
||||||
|
|
||||||
The result of the build is `actions.json` file, that contains everything that is needed to deploy contracts on Ethereum along with expected deploy addresses.
|
The result of the build is `actions.json` file, that contains everything that is needed to deploy contracts on Ethereum along with expected deploy addresses.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user