mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
Tornado privacy pool with internal transactions
.github/workflows | ||
circuits | ||
contracts | ||
scripts | ||
src | ||
test | ||
.editorconfig | ||
.env.example | ||
.eslintrc | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.solhint.json | ||
hardhat.config.js | ||
package.json | ||
README.md | ||
yarn.lock |
Tornado Pool
Usage
yarn
yarn download
yarn build
yarn test
TODO
- deposit from mainnet to the pool on optimism in one tx
Useful
How we do transaction inside pool of A amount.
- sort inputs by amount
- try to take 1 or 2 smallest inputs to satisfy A amount. Get 16 inputs if it's not possible using the same way
- Also you can always use transaction to merge your inputs with change (especially in 16 inputs case)