Tornado privacy pool with internal transactions
Go to file
2021-08-19 19:34:55 +03:00
.github/workflows remove concurrent build on PR 2021-08-19 19:34:55 +03:00
circuits extDataSquare + eslint fix 2021-08-19 19:20:02 +03:00
contracts code stylr fixes 2021-08-19 13:31:58 +03:00
scripts fix: transfer from contract 2021-07-08 20:50:44 +03:00
src Merge branch 'master' into optimism 2021-08-17 11:24:24 +03:00
test extDataSquare + eslint fix 2021-08-19 19:20:02 +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 OVM 2021-07-07 00:11:30 +03:00
.prettierignore code stylr fixes 2021-08-19 13:31:58 +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 optimism default url 2021-08-19 19:22:04 +03:00
package.json Upgradeability tests 2021-08-05 10:29:49 +03:00
README.md readme update 2021-08-19 19:27:19 +03:00
yarn.lock update yarn lock 2021-08-19 13:18:45 +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)