mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
audit
This commit is contained in:
parent
ebf1b1a1b4
commit
0553d31e7d
22
README.md
22
README.md
@ -1,5 +1,15 @@
|
||||
# Tornado Pool [![Build Status](https://github.com/tornadocash/tornado-pool/workflows/build/badge.svg)](https://github.com/tornadocash/tornado-pool/actions)
|
||||
|
||||
This an experimental version of tornado.cash that allows to deposit arbitrary amounts and make internal(shielded) transfers.
|
||||
|
||||
Other facts about this version:
|
||||
|
||||
1. It uses L2 (xdai). Xdai has a ETH(mainnet)<>WETH(xdai) bridge that will be used under hood.
|
||||
2. Contracts will be upgradable by tornado-cash governance! xdai bridge supports transferring messages from L1 to L2 and vise versa, so community can always upgrade tornado-pool to a new version in case of an issue.
|
||||
3. Since it's a beta version, deposits are limited by 1ETH. Governance can always increase the limit.
|
||||
4. Withdrawal amount from pool to L1 has to be larger than 0.05 ETH to prevent spam attack on the bridge.
|
||||
5. The code was [audited](./resources/Zeropool-Tornado.pool-audit.pdf) by Igor Gulamov from Zeropool.
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
@ -8,15 +18,3 @@ 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)
|
||||
|
BIN
resources/Zeropool-Tornado.pool-audit.pdf
Normal file
BIN
resources/Zeropool-Tornado.pool-audit.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user