Tornado privacy pool with internal transactions
Go to file
2021-09-09 19:17:19 +03:00
.github/workflows yarn fix again 2021-08-19 19:51:47 +03:00
circuits Merge branch 'master' into optimism 2021-09-07 12:46:43 +03:00
contracts code stylr fixes 2021-08-19 13:31:58 +03:00
scripts fix: deploy 2021-09-09 19:03:13 +03:00
src Merge branch 'master' into optimism 2021-09-07 12:46:43 +03:00
test lint fix 2021-09-07 12:48:32 +03:00
.editorconfig fix indentation 2020-04-09 22:12:45 +03:00
.env.example env example + fixed-merkle-tree update 2021-07-07 00:08:27 +03:00
.eslintrc extDataSquare + eslint fix 2021-08-19 19:20:02 +03:00
.gitignore Merge branch 'master' into optimism 2021-09-07 12:46:43 +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
hardhat.config.js Merge branch 'master' into optimism 2021-09-07 12:46:43 +03:00
package.json update deps 2021-09-07 13:07:31 +03:00
README.md readme styles 2021-08-19 19:50:30 +03:00
yarn.lock update deps 2021-09-07 13:07:31 +03:00

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)