update readme

This commit is contained in:
Alexey 2020-12-04 17:47:09 +01:00
parent 1a050950ab
commit 553f4d7ed7
1 changed files with 5 additions and 3 deletions

View File

@ -4,8 +4,9 @@
docker-compose.yml contains a stack that will automatically provision SSL certificates for your domain name and will add a https redirect to port 80.
1. Download docker-compose.yml
2. Setup environment variables
1. Download [docker-compose.yml](/docker-compose.yml) and [env.example](/env.example)
2. `mv .env.example .env`
3. Setup environment variables
- set `NET_ID` (1 for mainnet, 5 for Goerli)
- set `HTTP_RPC_URL` rpc url for your ethereum node
- set `WS_RPC_URL` websocket url
@ -20,7 +21,8 @@ docker-compose.yml contains a stack that will automatically provision SSL certif
- update `CONFIRMATIONS` if needed - how many block confirmations to wait before processing an event. Not recommended to set less than 3
- update `MAX_GAS_PRICE` if needed - maximum value of gwei value for relayer's transaction
If you want to use more than 1 eth address for relaying transactions, please add as many `workers` as you want. For example, you can comment out `worker2` in docker-compose.yml file, but please use a different `PRIVATE_KEY` for each worker. 3. Run `docker-compose up -d`
If you want to use more than 1 eth address for relaying transactions, please add as many `workers` as you want. For example, you can comment out `worker2` in docker-compose.yml file, but please use a different `PRIVATE_KEY` for each worker.
4. Run `docker-compose up -d`
## Run locally