Código del censurado Tornado Cash

Andrey a83fae0772 Merge pull request #27 from tornadocash/TC-1_add_message_to_vote hai 1 ano
.github 69b1f7e959 fix: file format %!s(int64=2) %!d(string=hai) anos
abis dc5a72b85a fix: calculate optimism l1 fee hai 1 ano
app 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
assets 3cef4c4d5b TC-1 | Add supported tail calldata for vote hai 1 ano
components 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
constants 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
langs 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
layouts 6125b3b2af feat: updated gasOracle library hai 1 ano
lib 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
middleware b91b81f5c9 fix: audit hai 1 ano
modules 1f12d5eccd fix: remove rudiments hai 1 ano
pages 48ca5dbfba fix: add eth.link notification hai 1 ano
plugins 756b544dee fix: detect ipfs hai 1 ano
scripts 72b87db11f update: events hai 1 ano
services 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
static 72b87db11f update: events hai 1 ano
store 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
utils 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
.babelrc 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
.env.example 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
.eslintrc.js 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
.gitignore 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
.nvmrc 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
.prettierrc 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
Dockerfile 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
LICENSE 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
README.md 42edc95148 fix: link hai 1 ano
app.html ee1073ff07 return app.html hai 1 ano
jest.config.js 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
netlify.toml 44f31f8b9f init %!s(int64=2) %!d(string=hai) anos
networkConfig.js 6e01a677ae TC-98 | Add ProposalComments component with tab filters hai 1 ano
nuxt.config.js c5d30a788b fix: add worker csp hai 1 ano
package.json 6125b3b2af feat: updated gasOracle library hai 1 ano
yarn.lock 6125b3b2af feat: updated gasOracle library hai 1 ano

README.md

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