2021-07-16 17:54:20 -04:00
# Warning!
2020-12-23 04:25:50 -05:00
Current cli version doesn't support [Anonymity Mining ](https://tornado-cash.medium.com/tornado-cash-governance-proposal-a55c5c7d0703 )
2020-05-21 15:29:33 -04:00
2021-07-16 17:54:20 -04:00
### Goerli, Mainnet
2020-05-21 15:29:33 -04:00
1. Add `PRIVATE_KEY` to `.env` file
2. `./cli.js --help`
Example:
```bash
2021-12-07 11:57:18 -05:00
$ ./cli.js deposit ETH 0.1 --rpc https://goerli.infura.io/v3/27a9649f826b4e31a83e07ae09a87448 --tor 9050
2021-02-25 08:03:51 -05:00
2021-07-16 17:54:20 -04:00
Your note: tornado-eth-0.1-5-0xf73dd6833ccbcc046c44228c8e2aa312bf49e08389dadc7c65e6a73239867b7ef49c705c4db227e2fadd8489a494b6880bdcb6016047e019d1abec1c7652
2021-02-25 08:03:51 -05:00
Tornado ETH balance is 8.9
Sender account ETH balance is 1004873.470619891361352542
Submitting deposit transaction
Tornado ETH balance is 9
Sender account ETH balance is 1004873.361652048361352542
2020-05-21 15:29:33 -04:00
```
```bash
2021-12-07 11:57:18 -05:00
$ ./cli.js withdraw tornado-eth-0.1-5-0xf73dd6833ccbcc046c44228c8e2aa312bf49e08389dadc7c65e6a73239867b7ef49c705c4db227e2fadd8489a494b6880bdcb6016047e019d1abec1c7652 0x8589427373D6D84E98730D7795D8f6f8731FDA16 --rpc https://goerli.infura.io/v3/27a9649f826b4e31a83e07ae09a87448 --relayer https://goerli-frelay.duckdns.org --tor 9050
2020-05-21 15:29:33 -04:00
2021-02-25 08:03:51 -05:00
Relay address: 0x6A31736e7490AbE5D5676be059DFf064AB4aC754
Getting current state from tornado contract
Generating SNARK proof
Proof time: 9117.051ms
Sending withdraw transaction through relay
2021-07-16 17:54:20 -04:00
Transaction submitted through the relay. View transaction on etherscan https://goerli.etherscan.io/tx/0xcb21ae8cad723818c6bc7273e83e00c8393fcdbe74802ce5d562acad691a2a7b
2021-02-25 08:03:51 -05:00
Transaction mined in block 17036120
Done
```