waku-org / research

Waku Protocol Research
MIT License
3 stars 0 forks source link

RLN ZK-Proof Generation For Light Clients #96

Open alrevuelta opened 2 months ago

alrevuelta commented 2 months ago

TLDR: Using a LazyIMT + a change we contributed upstream, we can have Merkle roots and Merkle proofs onchain in the RLN contract with an assumable gas increase. This will allow light client to generate and verify RLN proofs without having to keep any state, with a very low impact in development. An end-to-end PoC is presented in Go using light push and the new RLN contract.

Previous Work

Some background of the previous work that has been done in relation to RLN in light clients:

New Proposal

The latest proposal is showcased with a PoC that integrates and showcases the end-to-end solution:

Key features:

Conclusion and Future

Thanks @rymnc for his help.

rymnc commented 2 months ago

err, maybe we want to include the subtree strategy in previous work? :)

I would say this is the end game for RLN

💯