nova-ui/static
2024-05-05 01:49:51 -07:00
..
icons initialise 2022-12-04 07:02:30 +01:00
events.worker.js Change RPC endpoints to self-hosted 2024-05-05 01:49:51 -07:00
manifest.webmanifest initialise 2022-12-04 07:02:30 +01:00
nullifier.worker.js Change RPC endpoints to self-hosted 2024-05-05 01:49:51 -07:00
README.md initialise 2022-12-04 07:02:30 +01:00
snarkjs.min.js Change workers: Now they are automatically rebuilt each time 2023-06-01 07:26:51 -07:00
transaction2.wasm.zip initialise 2022-12-04 07:02:30 +01:00
transaction2.zkey.zip initialise 2022-12-04 07:02:30 +01:00
transaction16.wasm.zip initialise 2022-12-04 07:02:30 +01:00
transaction16.zkey.zip initialise 2022-12-04 07:02:30 +01:00

How to use

Step 1. Clone repository

git clone https://github.com/tornadocash/nova-ui-minified.git
cd nova-ui-minified

Step 2. Serve the folder with your favorite http server

python3 -m http.server 8080

Or use any other http web server, such as https://www.npmjs.com/package/http-server

Step 3. Open your web browser at http://localhost:8080

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. Paste the following into docker-compose.yml and run docker-compose up -d

version: '2'

services:
  tornado_nova-ui:
    image: tornadocash/nova-ui
    restart: always
    container_name: tornado_nova-ui
  watchtower:
    image: v2tec/watchtower
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    command: --interval 60 tornado_nova-ui
  tor:
    image: strm/tor
    restart: always
    depends_on: [ tornado_nova-ui ]
    environment:
      LISTEN_PORT: 80
      REDIRECT: tornado_nova-ui:80
      # Generate a new key with
      # docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^torn
      PRIVATE_KEY: |
        -----BEGIN RSA PRIVATE KEY-----
        ...
        -----END RSA PRIVATE KEY-----