Tornado Cash
  • GENERALS
    • Introduction to Tornado Cash
    • How does Tornado Cash work?
    • Tips to remain anonymous
    • How to use Tornado Cash with TOR
    • TORN
    • Governance
    • Staking
    • How to add or remove liquidity on Uniswap v2
    • How to become a relayer?
    • Tornado Cash smart contracts
    • Minified UI hosted locally
  • TORNADO CASH CLASSIC
    • How to connect your wallet
    • Deposit & Withdraw
    • Anonymity Mining
    • Compliance Tool
    • Circuits
      • Core Deposit Circuit
  • TORNADO CASH NOVA
    • Logging in Tornado Cash Nova
    • Fund & withdraw on Nova
    • Shielded transfers on Nova
    • More anonymity tips
  • THEY TALK ABOUT US
    • Articles
    • Videos
Powered by GitBook
On this page
  • Step #1: Clone the Github repository on your computer
  • Step #2: Serve the Folder with Your Favorite HTTP Server
  • Step #3: Run the UI on Localhost on your Favorite Web Browser
  • Running a TOR service

Was this helpful?

  1. GENERALS

Minified UI hosted locally

PreviousTornado Cash smart contractsNextHow to connect your wallet

Last updated 9 days ago

Was this helpful?

Tornado Cash protocol can be launched locally on your computer through a minified User Interface version made available by the core developers team.

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

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

1 python -m SimpleHTTPServer 8080

You can obviously use any other http web server, such as.

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.ym

1 version: '2'
​
2 services:
3  tornado_ui:
4    image: tornadocash/ui
5    restart: always
6    container_name: tornado_ui
7  watchtower:
8    image: v2tec/watchtower
9    restart: always
10    volumes:
11      - /var/run/docker.sock:/var/run/docker.sock
12    command: --interval 60 tornado_ui
13  tor:
14    image: strm/tor
15    restart: always
16    depends_on: [ tornado_ui ]
17    environment:
18      LISTEN_PORT: 80
19      REDIRECT: tornado_ui:80
20      # Generate a new key with
21      # docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^torn
22      PRIVATE_KEY: |
23        -----BEGIN RSA PRIVATE KEY-----
24        ...
25        -----END RSA PRIVATE KEY-----
npmjs.com/package/http-server