User interface for Tornado Cash Classic.
Go to file
gozzy a628c50b32 Merge pull request 'Update Decurity audit link' (#1) from tarxz/classic-ui:master into staging
Reviewed-on: https://development.tornadocash.community/tornadocash/classic-ui/pulls/1
2022-10-28 09:53:17 +00: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
app TC-98 | Add ProposalComments component with tab filters 2022-08-05 17:50:33 +10:00
assets note backup disclaimer 2022-09-21 04:51:29 +00:00
components depreciate v-html refs 2022-10-28 07:51:47 +00:00
constants TC-98 | Add ProposalComments component with tab filters 2022-08-05 17:50:33 +10:00
langs note backup disclaimer 2022-09-21 04:51:29 +00:00
layouts feat: updated gasOracle library 2022-07-11 17:15:23 +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 community updates 2022-09-09 09:53:03 +00:00
plugins fix: detect ipfs 2022-07-11 17:15:23 +10:00
scripts improve batching, fix cache & events 2022-09-21 04:24:44 +00:00
services resolve tree caching detection 2022-10-28 08:09:02 +00:00
static optimise zip compression 2022-09-21 04:08:59 +00:00
store depreciate v-html refs 2022-10-28 07:51:47 +00:00
utils TC-98 | Add ProposalComments component with tab filters 2022-08-05 17:50:33 +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
Dockerfile init 2022-04-22 13:14:19 +10:00
LICENSE init 2022-04-22 13:14:19 +10:00
README.md Update Decurity audit link with IPFS source 2022-09-10 19:44:06 +00:00
app.html return app.html 2022-06-13 20:49:07 +10:00
jest.config.js init 2022-04-22 13:14:19 +10:00
netlify.toml init 2022-04-22 13:14:19 +10:00
networkConfig.js update rpcs & remove sanction check 2022-09-08 11:43:26 +00:00
nuxt.config.js fix: add worker csp 2022-06-14 20:22:23 +10:00
package.json optimise zip compression 2022-09-21 04:08:59 +00:00
yarn.lock optimise zip compression 2022-09-21 04:08:59 +00: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