This project seeks to simplify Tornado Cash's setup so that it uses `Foundry instead of Truffle
Tornado Cash has been a controversial project due to its privacy-preserving nature and the fact that it can be used to launder money. Its history will be deeply rooted into the history of Ethereum, as it implemented a practical application of zk-SNARKs before they were a household name.
The Zircuit network, due to their AI-driven monitoring of transactions, is a fantastic candidate to integrate with Tornado Cash in a way that is both privacy-preserving and compliant with regulations, as suspicious deposits into Tornado Cash can be detected at sequencer level and quarantined; while innocent users can still transact without worrying about being flagged.
This project's objective is to be an educational resource and does NOT seek any prizes from the main track at the ETH global Taipei hackathon.
This project uses the classic tornado contracts (compiled with a more modern solidity version) under the modern foundry framework. The classical command line interface has been appropriately adapted to make it more user friendly when testing on localhost.
Furthermore, it attempts to implement curvegrid's MultiBaaS to track deposits on each of the tornado contracts; however this implementation is only partial.