forked from tornadocash/classic-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
.github | 1 year ago | |
abis | 1 year ago | |
app | 10 months ago | |
assets | 7 months ago | |
components | 2 months ago | |
constants | 6 months ago | |
langs | 8 months ago | |
layouts | 11 months ago | |
lib | 7 months ago | |
middleware | 12 months ago | |
modules | 12 months ago | |
pages | 6 months ago | |
plugins | 7 months ago | |
scripts | 7 months ago | |
services | 2 months ago | |
static | 6 months ago | |
store | 2 months ago | |
utils | 7 months ago | |
.babelrc | 1 year ago | |
.env.example | 1 year ago | |
.eslintrc.js | 1 year ago | |
.gitignore | 1 year ago | |
.nvmrc | 1 year ago | |
.prettierrc | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 9 months ago | |
app.html | 12 months ago | |
jest.config.js | 1 year ago | |
netlify.toml | 1 year ago | |
networkConfig.js | 6 months ago | |
nuxt.config.js | 12 months ago | |
package.json | 7 months ago | |
yarn.lock | 7 months ago |
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.
- If you are using nvm (recommended) running
- 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 withyarn 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
andPINATA_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