Inspiration

https://github.com/barryWhiteHat/roll_up potential can scale up ethereum for 17k tps, as proposed https://ethresear.ch/t/roll-up-roll-back-snark-side-chain-17000-tps/3675/2. However, current lib snarks implementation has only [token->address] state t.e. supports no-fungible assets, like erc721. We tried to update it for fungible assets, such as Ether or ERC20.

What it does

It updates libsnark implementation such as it support update two leaves in the same time in the Merkle tree.

How we built it

change c++ implementation of https://github.com/barryWhiteHat/roll_up/blob/master/src/tx.tcc

Challenges we ran into

it complicated as fuck

Accomplishments that we're proud of

we figure out how does it work

What we learned

libsnarks implementation

What's next for roll_up mass verification for fungible transactions

make it work, properly test it, add demo, probably rewrite whole libsnark implementation or at least document it.

Built With

Share this project:

Updates