Minified UI hosted locally
Tornado Cash protocol can be launched locally on your computer through a minified User Interface version made available by the core developers team.
GitHub - tornadocash/ui-minified: A minified web UI for Tornado Cash protocol
GitHub

Step #1: Clone the Github repository on your computer

By opening your Command Line Interface, you can run the following commands to, first, clone the repository, then go inside the newly copied folder:
1
git clone https://github.com/tornadocash/ui-minified.git
2
cd ui-minified
Copied!

Step #2: Serve the Folder with Your Favorite HTTP Server

1
python -m SimpleHTTPServer 8080
Copied!
You can obviously use any other http web server, such as npmjs.com/package/http-server.

Step #3: Run the UI on Localhost on your Favorite Web Browser

To finish, you just need to run http://localhost:8080 on your Web Browser & let the magic happens 🪄

Running a TOR service

If you wish to serve tornado cash UI on an .onion domain, there is an easy way to do it using docker-compose.
  • You need to paste the following into docker-compose.yml
1
version: '2'
2
3
services:
4
tornado_ui:
5
image: tornadocash/ui
6
restart: always
7
container_name: tornado_ui
8
watchtower:
9
image: v2tec/watchtower
10
restart: always
11
volumes:
12
- /var/run/docker.sock:/var/run/docker.sock
13
command: --interval 60 tornado_ui
14
tor:
15
image: strm/tor
16
restart: always
17
depends_on: [ tornado_ui ]
18
environment:
19
LISTEN_PORT: 80
20
REDIRECT: tornado_ui:80
21
# Generate a new key with
22
# docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^torn
23
PRIVATE_KEY: |
24
-----BEGIN RSA PRIVATE KEY-----
25
...
26
-----END RSA PRIVATE KEY-----
Copied!
  • Then, just run the following command:docker-compose up -d
Enjoy your Tornado Cash UI 🌪
This tutorial is inspired from the README.md document present in the Github repository.
__
Written by @ayefda