Skip to content

This is a project to apply the recently studied zero knowledge theory by rareskills. This dapp is a clone of how Tornado Cash works in a minimal way, lacking some features and minimazing the merkle root size. It has just been built for education purposes. Credit: https://www.rareskills.io https://www.youtube.com/@darth_cy_/

Notifications You must be signed in to change notification settings

Draiakoo/TornadoCashClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tornado cash clone

  • This project is part of the learning of the zero knowledge proofs learning
  • It has been done for educational purposes only

Stack used

  • Foundry for the backend smart contracts
  • Circom for circuit programming
  • Next JS for frontend UI

New things learnt

  • How zero knowledge proofs work at a basic level, circuit programming for proving statements without revealing underlying data.
  • Learnt about how Groth16 work because it is used for Tornado Cash protocol
  • Tricks used in Tornado Cash to compute merkle tree pairings
  • Viem stack for blockchain interaction

Deployed side: https://tornadocashclone.netlify.app/

To run the frontend:

  1. cd frontend
  2. npm install
  3. npm run dev
  4. open browser at localhost:3000

About

This is a project to apply the recently studied zero knowledge theory by rareskills. This dapp is a clone of how Tornado Cash works in a minimal way, lacking some features and minimazing the merkle root size. It has just been built for education purposes. Credit: https://www.rareskills.io https://www.youtube.com/@darth_cy_/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published