mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
readme update
This commit is contained in:
parent
a2d7cfb887
commit
93c9364c77
@ -4,6 +4,7 @@
|
||||
|
||||
```shell
|
||||
yarn
|
||||
yarn download
|
||||
yarn build
|
||||
yarn test
|
||||
```
|
||||
@ -11,3 +12,10 @@ 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)
|
||||
|
9
TODO
9
TODO
@ -1,9 +0,0 @@
|
||||
* relayer
|
||||
* design
|
||||
* race condition ? (sequencer or something)
|
||||
* the current trusted setup is not secure ?
|
||||
|
||||
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)
|
Loading…
Reference in New Issue
Block a user