Tornado privacy pool with internal transactions
Go to file
Alexey c46f3ae1a9
Cross Chain Guard test
2021-10-12 18:50:25 +03:00
.github/workflows yarn fix again 2021-08-19 19:51:47 +03:00
circuits onchain tree 2021-09-26 19:24:20 +03:00
contracts Cross Chain Guard test 2021-10-12 18:50:25 +03:00
scripts Cross Chain Guard test 2021-10-12 18:50:25 +03:00
src remove sign; L1Helper with registration; minimal withdraw; maximum deposit; refactoring 2021-10-06 17:51:46 +03:00
test Cross Chain Guard test 2021-10-12 18:50:25 +03:00
.editorconfig fix indentation 2020-04-09 22:12:45 +03:00
.env.example remove sign; L1Helper with registration; minimal withdraw; maximum deposit; refactoring 2021-10-06 17:51:46 +03:00
.eslintrc extDataSquare + eslint fix 2021-08-19 19:20:02 +03:00
.gitignore withdraw to L1 support and test 2021-09-30 18:34:07 +03:00
.prettierignore Merge branch 'master' into optimism 2021-09-07 12:46:43 +03:00
.prettierrc init hardhat 2021-06-03 21:56:46 +03:00
.solhint.json init hardhat 2021-06-03 21:56:46 +03:00
README.md readme styles 2021-08-19 19:50:30 +03:00
hardhat.config.js remove sign; L1Helper with registration; minimal withdraw; maximum deposit; refactoring 2021-10-06 17:51:46 +03:00
package.json update deploy script 2021-10-06 20:14:28 +03:00
yarn.lock update deploy script 2021-10-06 20:14:28 +03:00

README.md

Tornado Pool Build Status

Usage

yarn
yarn download
yarn build
yarn test

TODO

  1. deposit from mainnet to the pool on optimism in one tx

Useful

How we do transaction inside pool of A amount.

  1. sort inputs by amount
  2. try to take 1 or 2 smallest inputs to satisfy A amount. Get 16 inputs if it's not possible using the same way
  3. Also you can always use transaction to merge your inputs with change (especially in 16 inputs case)