Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
45a01cf8e6 |
12
README.md
12
README.md
@ -1,8 +1,8 @@
|
|||||||
# Relayer for Tornado Cash [![Build Status](https://github.com/tornadocash/relayer/workflows/build/badge.svg)](https://github.com/tornadocash/relayer/actions)![Sidechains version](https://img.shields.io/badge/version-5.2.1-blue?logo=docker)![Mainnet version](https://img.shields.io/badge/version-4.1.5-blue?logo=docker)
|
# Relayer for Tornado Cash [![Build Status](https://github.com/tornadocash/relayer/workflows/build/badge.svg)](https://github.com/tornadocash/relayer/actions)![Static Badge](https://img.shields.io/badge/version-5.1.0-blue?logo=docker)
|
||||||
|
|
||||||
**\*Tornado Cash was sanctioned by the US Treasury on 08/08/2022, this makes it illegal for US citizens to interact with Tornado Cash and all of it's associated deployed smart contracts. Please understand the laws where you live and take all necessary steps to protect and anonymize yourself.**
|
**\*Tornado Cash was sanctioned by the US Treasury on 08/08/2022, this makes it illegal for US citizens to interact with Tornado Cash and all of it's associated deployed smart contracts. Please understand the laws where you live and take all necessary steps to protect and anonymize yourself.**
|
||||||
|
|
||||||
**\*It is recommended to run your Relayer on a VPS instnace (Virtual Private Server). Ensure SSH configuration is enabled for security, you can find information about SSH keygen and management [here](https://www.ssh.com/academy/ssh/keygen).**
|
**\*It is recommended to run your Relayer on a VPS instnace ([Virtual Private Server](https://njal.la/)). Ensure SSH configuration is enabled for security, you can find information about SSH keygen and management [here](https://www.ssh.com/academy/ssh/keygen).**
|
||||||
|
|
||||||
## Deploy with script and docker-compose
|
## Deploy with script and docker-compose
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ _The following instructions are for Ubuntu 22.10, other operating systems may va
|
|||||||
Just run in terminal:
|
Just run in terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -s https://git.tornado.ws/tornadocash/tornado-relayer/raw/branch/main/install.sh | bash
|
curl -s https://git.tornado.ws/tornadocash/tornado-relayer/raw/branch/main-v5/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Configuring environments:
|
#### Configuring environments:
|
||||||
@ -42,7 +42,7 @@ By default each network is preconfigured the naming of `.env.<NETWORK>`
|
|||||||
- Set `RPC_URL` to a non-censoring RPC (You can [run your own](https://github.com/feshchenkod/rpc-nodes), or use a [free option](https://chainnodes.org/))
|
- Set `RPC_URL` to a non-censoring RPC (You can [run your own](https://github.com/feshchenkod/rpc-nodes), or use a [free option](https://chainnodes.org/))
|
||||||
- Set `ORACLE_RPC_URL` to an Ethereum native RPC endpoint
|
- Set `ORACLE_RPC_URL` to an Ethereum native RPC endpoint
|
||||||
|
|
||||||
4(Optional). If you want to run relayer for [Nova](https://nova.tornado.ws), fill `.env.nova` file by instructions in [Nova branch](https://git.tornado.ws/tornadocash/tornado-relayer/src/branch/nova), because config is very specific
|
4. Optional: if you want to run relayer for [Nova](https://nova.tornado.ws), fill `.env.nova` file by instructions in [Nova branch](https://git.tornado.ws/tornadocash/tornado-relayer/src/branch/nova), because config is very specific.
|
||||||
|
|
||||||
#### Deployment:
|
#### Deployment:
|
||||||
|
|
||||||
@ -51,10 +51,10 @@ By default each network is preconfigured the naming of `.env.<NETWORK>`
|
|||||||
- `docker-compose --profile eth --profile bsc --profile arb up -d`
|
- `docker-compose --profile eth --profile bsc --profile arb up -d`
|
||||||
|
|
||||||
2. Visit your domain addresses and check each `/status` endpoint to ensure there is no errors in the `status` fields
|
2. Visit your domain addresses and check each `/status` endpoint to ensure there is no errors in the `status` fields
|
||||||
2. Optional: if you want to run Nova relayer, just add `--profile nova` to docker-compose command
|
3. Optional: if you want to run Nova relayer, just add `--profile nova` to docker-compose command
|
||||||
|
|
||||||
If you want to change some relayer parameters, for example, RPC url or fee percent, stop the relayer software with command `docker-compose down --remove-orphans`, change in corresponding `.env.{name}` file what you need and rerun relayer as described above.
|
If you want to change some relayer parameters, for example, RPC url or fee percent, stop the relayer software with command `docker-compose down --remove-orphans`, change in corresponding `.env.{name}` file what you need and rerun relayer as described above.
|
||||||
|
|
||||||
#### Disclaimer:
|
Disclaimer:
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
@ -47,7 +47,7 @@ services:
|
|||||||
|
|
||||||
eth-server:
|
eth-server:
|
||||||
build: .
|
build: .
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["eth"]
|
profiles: ["eth"]
|
||||||
restart: always
|
restart: always
|
||||||
command: server
|
command: server
|
||||||
@ -59,7 +59,7 @@ services:
|
|||||||
depends_on: [redis]
|
depends_on: [redis]
|
||||||
|
|
||||||
eth-treeWatcher:
|
eth-treeWatcher:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["eth"]
|
profiles: ["eth"]
|
||||||
restart: always
|
restart: always
|
||||||
command: treeWatcher
|
command: treeWatcher
|
||||||
@ -70,7 +70,7 @@ services:
|
|||||||
depends_on: [redis, eth-server]
|
depends_on: [redis, eth-server]
|
||||||
|
|
||||||
eth-priceWatcher:
|
eth-priceWatcher:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["eth"]
|
profiles: ["eth"]
|
||||||
restart: always
|
restart: always
|
||||||
command: priceWatcher
|
command: priceWatcher
|
||||||
@ -81,7 +81,7 @@ services:
|
|||||||
depends_on: [redis, eth-server]
|
depends_on: [redis, eth-server]
|
||||||
|
|
||||||
eth-healthWatcher:
|
eth-healthWatcher:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["eth"]
|
profiles: ["eth"]
|
||||||
restart: always
|
restart: always
|
||||||
command: healthWatcher
|
command: healthWatcher
|
||||||
@ -92,7 +92,7 @@ services:
|
|||||||
depends_on: [redis, eth-server]
|
depends_on: [redis, eth-server]
|
||||||
|
|
||||||
eth-worker1:
|
eth-worker1:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["eth"]
|
profiles: ["eth"]
|
||||||
restart: always
|
restart: always
|
||||||
command: worker
|
command: worker
|
||||||
@ -105,7 +105,7 @@ services:
|
|||||||
# # This is additional worker for ethereum mainnet
|
# # This is additional worker for ethereum mainnet
|
||||||
# # So you can process transactions from multiple addresses, but before it you need to set up those addresses as workers
|
# # So you can process transactions from multiple addresses, but before it you need to set up those addresses as workers
|
||||||
# eth-worker2:
|
# eth-worker2:
|
||||||
# image: tornadocash/relayer:mainnet-v4
|
# image: tornadocash/relayer:mainnet-v5
|
||||||
# profiles: [ 'eth' ]
|
# profiles: [ 'eth' ]
|
||||||
# restart: always
|
# restart: always
|
||||||
# command: worker
|
# command: worker
|
||||||
@ -394,7 +394,7 @@ services:
|
|||||||
# ---------------------- Goerli (Ethereum Testnet) ---------------------- #
|
# ---------------------- Goerli (Ethereum Testnet) ---------------------- #
|
||||||
|
|
||||||
goerli-server:
|
goerli-server:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["geth"]
|
profiles: ["geth"]
|
||||||
restart: always
|
restart: always
|
||||||
command: server
|
command: server
|
||||||
@ -406,7 +406,7 @@ services:
|
|||||||
depends_on: [redis]
|
depends_on: [redis]
|
||||||
|
|
||||||
goerli-treeWatcher:
|
goerli-treeWatcher:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["goerli"]
|
profiles: ["goerli"]
|
||||||
restart: always
|
restart: always
|
||||||
command: treeWatcher
|
command: treeWatcher
|
||||||
@ -417,7 +417,7 @@ services:
|
|||||||
depends_on: [redis, goerli-server]
|
depends_on: [redis, goerli-server]
|
||||||
|
|
||||||
goerli-priceWatcher:
|
goerli-priceWatcher:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["goerli"]
|
profiles: ["goerli"]
|
||||||
restart: always
|
restart: always
|
||||||
command: priceWatcher
|
command: priceWatcher
|
||||||
@ -428,7 +428,7 @@ services:
|
|||||||
depends_on: [redis, goerli-server]
|
depends_on: [redis, goerli-server]
|
||||||
|
|
||||||
goerli-healthWatcher:
|
goerli-healthWatcher:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["goerli"]
|
profiles: ["goerli"]
|
||||||
restart: always
|
restart: always
|
||||||
command: healthWatcher
|
command: healthWatcher
|
||||||
@ -439,7 +439,7 @@ services:
|
|||||||
depends_on: [redis, goerli-server]
|
depends_on: [redis, goerli-server]
|
||||||
|
|
||||||
goerli-worker1:
|
goerli-worker1:
|
||||||
image: tornadocash/relayer:mainnet-v4
|
image: tornadocash/relayer:mainnet-v5
|
||||||
profiles: ["goerli"]
|
profiles: ["goerli"]
|
||||||
restart: always
|
restart: always
|
||||||
command: worker
|
command: worker
|
||||||
@ -451,7 +451,6 @@ services:
|
|||||||
# -------------------------------------------------- #
|
# -------------------------------------------------- #
|
||||||
|
|
||||||
# ---------------------- Tornado Nova (Gnosis Chain) ----------------------- #
|
# ---------------------- Tornado Nova (Gnosis Chain) ----------------------- #
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: tornadocash/relayer:nova
|
image: tornadocash/relayer:nova
|
||||||
profiles: ["nova"]
|
profiles: ["nova"]
|
||||||
|
@ -57,8 +57,8 @@ function install_node(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install_repositories(){
|
function install_repositories(){
|
||||||
git clone $relayer_soft_git_repo -b main $relayer_folder
|
git clone $relayer_soft_git_repo -b main-v5 $relayer_folder
|
||||||
git clone $relayer_soft_git_repo -b mainnet-v4 $relayer_mainnet_soft_source_folder;
|
git clone $relayer_soft_git_repo -b mainnet-v5 $relayer_mainnet_soft_source_folder;
|
||||||
git clone $relayer_soft_git_repo -b sidechain-v5 $relayer_sidechains_soft_source_folder;
|
git clone $relayer_soft_git_repo -b sidechain-v5 $relayer_sidechains_soft_source_folder;
|
||||||
git clone $relayer_soft_git_repo -b nova $nova_relayer_soft_source_folder;
|
git clone $relayer_soft_git_repo -b nova $nova_relayer_soft_source_folder;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user