Tornado privacy pool with internal transactions
Go to file
2021-10-19 11:09:04 +03:00
.github/workflows yarn fix again 2021-08-19 19:51:47 +03:00
circuits rename circuit files 2021-10-17 14:05:01 +03:00
contracts Cross Chain Guard test 2021-10-12 18:50:25 +03:00
scripts upfate prod setup 2021-10-18 12:26:37 +03:00
src remove obsolete circuit inputs 2021-10-17 13:55:54 +03:00
test initialize proxy during deploy 2021-10-19 11:09:04 +03:00
.editorconfig fix indentation 2020-04-09 22:12:45 +03:00
.env.example add mainnet 2021-10-18 11:39:19 +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
hardhat.config.js add mainnet 2021-10-18 11:39:19 +03:00
package.json upfate prod setup 2021-10-18 12:26:37 +03:00
README.md readme styles 2021-08-19 19:50:30 +03:00
yarn.lock update deploy script 2021-10-06 20:14:28 +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)