From 553f4d7ed76375297a0a046aaff9dccdcd743c98 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 4 Dec 2020 17:47:09 +0100 Subject: [PATCH] update readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac516be..fe50765 100644 --- a/README.md +++ b/README.md @@ -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