update readme

This commit is contained in:
poma 2021-04-01 21:39:38 +03:00
parent 6d8cb8ea03
commit da29316f9c
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
2 changed files with 10 additions and 11 deletions

View File

@ -1,16 +1,13 @@
RPC_URL=
PRIVATE_KEY=
# Gas price in Gwei
GAS_PRICE=200
# should not be more often than CONFIRMATION_BLOCKS time. default is once per hour
CRON_EXPRESSION="0 0 * * * *"
CONFIRMATION_BLOCKS=1
# additional nodes to send raw tx to. comma separated values
BROADCAST_NODES=https://api.taichi.network:10001/rpc/public,https://cloudflare-eth.com
REDIS_URL=redis://127.0.0.1:6379
PRIVATE_KEY=
MERKLE_TREE_LEVELS=20
# the block of the tornadoTrees contract deployment
INSERT_BATCH_SIZE=256
# should not be more often than CONFIRMATION_BLOCKS time. e.g every 3 minutes
CRON_EXPRESSION="0 */3 * * * *"
CONFIRMATION_BLOCKS=3
# a number in Gwei
GAS_PRICE=20

View File

@ -23,6 +23,8 @@ redis-server
yarn
cp .env.example .env
vi .env
# download and unzip snark keys from https://tornado-trees-circuit.s3-eu-west-1.amazonaws.com/tornado-trees-circuit.tar.gz to `snarks` directory
yarn start
```