mirror of
https://github.com/tornadocash/tornado-classic-ui
synced 2024-02-02 15:04:09 +01:00
Tornado Cash Classic UI
a83fae0772
TC-1 | TC-98 | Add message for Vote Casting |
||
---|---|---|
.github | ||
abis | ||
app | ||
assets | ||
components | ||
constants | ||
langs | ||
layouts | ||
lib | ||
middleware | ||
modules | ||
pages | ||
plugins | ||
scripts | ||
services | ||
static | ||
store | ||
utils | ||
.babelrc | ||
.env.example | ||
.eslintrc.js | ||
.gitignore | ||
.nvmrc | ||
.prettierrc | ||
app.html | ||
Dockerfile | ||
jest.config.js | ||
LICENSE | ||
netlify.toml | ||
networkConfig.js | ||
nuxt.config.js | ||
package.json | ||
README.md | ||
yarn.lock |
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