User interface for Tornado Cash Classic.
Go to file
Danil Kovtonyuk 9598f666fb fix: rpc url
2022-07-02 00:04:52 +10:00
.github fix: file format 2022-04-22 16:13:28 +10:00
abis fix: calculate optimism l1 fee 2022-05-30 20:33:54 +10:00
assets refactor fetchProposals 2022-06-30 01:34:22 +10:00
components refactor fetchProposals 2022-06-30 01:34:22 +10:00
constants update: events 2022-06-15 16:45:56 +10:00
langs fix: inline script to file 2022-06-13 17:58:35 +10:00
layouts fix: audit 2022-06-13 17:58:35 +10:00
lib init 2022-04-22 13:14:19 +10:00
middleware fix: audit 2022-06-13 17:58:35 +10:00
modules fix: remove rudiments 2022-06-15 16:45:56 +10:00
pages Merge branch 'master' into audit 2022-06-15 16:37:28 +10:00
plugins fix: init idb 2022-06-24 16:23:30 +10:00
scripts update: events 2022-06-15 16:45:56 +10:00
services fix: separate idb by netId 2022-06-16 16:04:45 +10:00
static update: events 2022-06-15 16:45:56 +10:00
store fix: rpc url 2022-07-02 00:04:52 +10:00
utils init 2022-04-22 13:14:19 +10:00
.babelrc init 2022-04-22 13:14:19 +10:00
.env.example init 2022-04-22 13:14:19 +10:00
.eslintrc.js init 2022-04-22 13:14:19 +10:00
.gitignore init 2022-04-22 13:14:19 +10:00
.nvmrc init 2022-04-22 13:14:19 +10:00
.prettierrc init 2022-04-22 13:14:19 +10:00
app.html return app.html 2022-06-13 20:49:07 +10:00
Dockerfile init 2022-04-22 13:14:19 +10:00
jest.config.js init 2022-04-22 13:14:19 +10:00
LICENSE init 2022-04-22 13:14:19 +10:00
netlify.toml init 2022-04-22 13:14:19 +10:00
networkConfig.js fix: poll interval 2022-06-16 16:04:45 +10:00
nuxt.config.js fix: add worker csp 2022-06-14 20:22:23 +10:00
package.json 🎨 improved scripts for updating events and trees 2022-06-15 16:45:56 +10:00
README.md fix: link 2022-06-30 01:34:22 +10:00
yarn.lock 🎨 improved scripts for updating events and trees 2022-06-15 16:45:56 +10:00

Tornado Cash Classic UI

UI for non-custodial Ethereum Privacy solution

Building locally

  • Install Node.js version 14
    • If you are using nvm (recommended) running nvm use will automatically choose the right node version for you.
  • Install Yarn
  • Install dependencies: yarn
  • Copy the .env.example file to .env
    • Replace environment variables with your own personal.
  • Build the project to the ./dist/ folder with yarn generate.

Development builds

To start a development build (e.g. with logging and file watching) run yarn dev.

Deploy on IPFS

  • Make sure you set PINATA_API_KEY and PINATA_SECRET_API_KEY environment variables in .env
  • To deploy a production build run yarn deploy-ipfs.

Architecture

For detailed explanation on how things work, checkout Nuxt.js docs.

Audit

TornadoCash_Classic_dApp_audit_Decurity.pdf

Update cached files

  • For update deposits and withdrawals events use yarn update:events {chainId}
  • For update encrypted notes use yarn update:encrypted {chainId}
  • For update merkle tree use yarn update:tree {chainId}

NOTE!

After update cached files do not forget to use yarn update:zip

Example for Ethereum Mainnet:

yarn update:events 1
yarn update:encrypted 1
yarn update:tree 1

yarn update:zip

Example for Binance Smart Chain:

yarn update:events 56
yarn update:encrypted 56

yarn update:zip