Skip to content

2.0.4

Compare
Choose a tag to compare
@AtHeartEngineer AtHeartEngineer released this 27 Feb 13:56
· 192 commits to main since this release
4ee4824

RLN (Rate-Limiting Nullifier) is a zk-gadget/protocol that enables spam prevention in anonymous environments.

The core of RLN is in the circuit logic, documentation here. RLNjs provides easy management of the registry and proof creation.

This library provides three main classes: RLN, Registry, and Cache.
RLN

The RLN class provides the core functionality of the RLN protocol. It provides the ability to generate a proof and verify a proof.
Registry

The Registry class provides the ability to manage the registry. It provides the ability to add, remove, and slash members from the registry.
Cache

The Cache class provides the ability to cache proofs by epoch and automatically recovers secrets if the rate limit is exceeded.