Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 1.49 KB

README.md

File metadata and controls

65 lines (51 loc) · 1.49 KB

Rate-Limiting Nullifier circuits in Circom


This is a fork of RLN

This fork of RLN makes use of RC hash function as a drop in replacement to poseidon.

Constraint differences

  1. RLN Circuit =>
circom compiler 2.1.5
-template instances: 216
+template instances: 48
-non-linear constraints: 5820
+non-linear constraints: 957
linear constraints: 0
public inputs: 2
public outputs: 3
private inputs: 43
private outputs: 0
-wires: 5844
+wires: 1053
-labels: 18553
+labels: 24733
  1. Withdraw Circuit =>
circom compiler 2.1.5
-template instances: 71
+template instances: 42
-non-linear constraints: 214
+non-linear constraints: 37
linear constraints: 0
public inputs: 1
public outputs: 1
private inputs: 1
private outputs: 0
-wires: 217
+wires: 43
-labels: 585
+labels: 1021

What's RLN?

RLN is a zero-knowledge gadget that enables spam prevention in anonymous environments.

The core parts of RLN are:


To learn more on RLN and how it works - check out documentation.