Skip to content

tHeStRyNg/tornado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tornado

image

Tornado is a fully decentralized non-custodial protocol allowing private transactions in the crypto-space.

Scope

  • Anonymous Non-Custodial Ethereum Privacy Solution Deposit / Withdraw
  • Because Maintaining Financial Privacy is Essential to Preserve our Freedom.

Building locally

  • Install NodeJS
  • If you are using we recommended running nvm use will automatically choose the right node version for you and if you 're not using it, you should ^_^
  • Install Yarn -> https://linuxize.com/post/how-to-install-yarn-on-ubuntu-20-04/
  • Install dependencies
  • Create the environment config file as hiddden
  • Replace environment variables with your own personal.
  • Build the project
  • install pm2 for fork process on shell npm install pm2 -g
  • start with pm2 --name Tornado start yarn -- dev

Development builds

You can start a development build and nuxt will help re-build after each ile change

Deploy on IPFS

Important:

  • You will need paid version so can store html

Architecture

The Basic Web Infrastructure (not Circles)

image

For detailed explanation on how things work, checkout Tornado Docs.

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

Dependancies

  • WebSnark --> https://github.com/poma/websnark A fast zkSnark proof generator written in native Web Assembly. websnark is used to generate zkSnark Proofs from the browser. This module generates highly optimized Web Assembly modules for the low level cryptographic primitives.
  • SnarkJS --> https://github.com/iden3/snarkjs This is a JavaScript and Pure Web Assembly implementation of zkSNARK and PLONK schemes. It uses the Groth16 Protocol (3 point only and 3 pairings), PLONK and FFLONK.

Custom Configuration

For RPC you can use any network (ETH, POLY, etc) RPC for your anonymity. We are currently running the service cross https://cloudflare-eth.com ^_^

Enjoy !!!

Releases

No releases published

Packages

No packages published

Contributors 5