Tornado privacy pool with internal transactions
Go to file
2021-10-04 13:22:13 +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 deployer for WETHOmnibridgeRouter 2021-10-04 13:22:13 +03:00
scripts deployer for WETHOmnibridgeRouter 2021-10-04 13:22:13 +03:00
src add source chainid for proxy; double check for onTokenBridged; remove account 2021-10-04 13:06:58 +03:00
test add source chainid for proxy; double check for onTokenBridged; remove account 2021-10-04 13:06:58 +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 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 deployer for WETHOmnibridgeRouter 2021-10-04 13:22:13 +03:00
package.json xdai update 2021-09-29 22:39:30 +03:00
README.md readme styles 2021-08-19 19:50:30 +03:00
yarn.lock xdai update 2021-09-29 22:39:30 +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)