simple-tornado
simple-tornado copied to clipboard
Simple version of Tornado Cash which is a private transactions solution based on zkSNARKs with hardhat development environment, ethers.js, and typescript.
I think my version is hackable because the publicSignal root in parameters of verifyProof may be different from the root in parameters of withdraw. ``` solidity function withdraw( uint256[2] memory...
What exactly are the solidity "Mock" contracts inside of contracts/Mock? Thanks so much for your help!
What does this file do? And thanks for building this repo!
license
Is that software open for re-use? There's no license!
When roots[] achieve ROOT_HISTORY_SIZE and rewrite roots[0], does it means if there is a deposit in the original roots[0] had not been withdraw, it may be locked in the contract...
- people can check isSpent() with commiment to know that the deposit is spent.
- building a command-line tool for contract running on the hardhat network.