From da29316f9c6279b02f02377f4fed8adf0681c737 Mon Sep 17 00:00:00 2001 From: poma Date: Thu, 1 Apr 2021 21:39:38 +0300 Subject: [PATCH] update readme --- .env.example | 19 ++++++++----------- README.md | 2 ++ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.env.example b/.env.example index b1a0a9c..db53d95 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index e0856f7..5ff9f91 100644 --- a/README.md +++ b/README.md @@ -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 ```