Vac Research - RLNP2P

Mar 21 2023


NOTE: This page is a very early work in progress.

About RLNP2P

RLNP2P gives p2p protocols and applications economic, anonymous spam protection using RLN.

RLN stands for Rate Limiting Nullifier and uses Zero Knowledge Proofs to enforce a certain message rate, without linking a publisher to a message. When a message rate is exceeded, a user's financial or social stake gets slashed.

In a p2p setting, this means that each node keeps the necessary state required and validates messages before passing them on.

This means that we get a decentralized, sybil-resistant and privacy-preserving communication channel in a p2p network.


Waku RLN Relay is an example of using RLNP2P applied to Waku in a GossipSub network.

The same technique can trivally be used on top of stock libp2p GossipSub as well.

With some modifications, it can also likely be used in other topologies such as Dandellion++ and Tor/onion routing.

p2p applications that use use RLN on the social layer, as opposed to on the networking layer, can also likely use RLNP2p. For example, zkchat.

We are also currently working on a variant that combines RLN+Interrep, using social stake instead of financial stake. This paves the way for users who do not currently have crypto assets to use RLNP2P.


Check out links below and join the #rln channel in our Vac Discord



RLN Relay

Work in progress