From 06e18dda2857c442aa5946be66a9cdd7cf845b7c Mon Sep 17 00:00:00 2001 From: poma Date: Wed, 30 Dec 2020 23:41:06 +0300 Subject: [PATCH] fix readme --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1838a9b..e2c61fd 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ docker-compose.yml contains a stack that will automatically provision SSL certif 1. Download [docker-compose.yml](/docker-compose.yml) and [.env.example](/.env.example) ``` -wget https://raw.githubusercontent.com/tornadocash/tornado-relayer/mining/docker-compose.yml -wget https://raw.githubusercontent.com/tornadocash/tornado-relayer/mining/.env.example -O .env +wget https://raw.githubusercontent.com/tornadocash/tornado-relayer/master/docker-compose.yml +wget https://raw.githubusercontent.com/tornadocash/tornado-relayer/master/.env.example -O .env ``` 2. Setup environment variables @@ -61,6 +61,12 @@ wget https://raw.githubusercontent.com/tornadocash/tornado-relayer/mining/.env.e 5. Go to `http://127.0.0.1:8000` 6. In order to execute withdraw request, you can run following command +```bash +curl -X POST -H 'content-type:application/json' --data '' http://127.0.0.1:8000/relay +``` + +Relayer should return a transaction hash + In that case you will need to add https termination yourself because browsers with default settings will prevent https tornado.cash UI from submitting your request over http connection