This fork of RLN makes use of RC hash function as a drop in replacement to poseidon.
- 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
- 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
RLN is a zero-knowledge gadget that enables spam prevention in anonymous environments.
The core parts of RLN are:
- zk-circuits in Circom (this repo);
- registry smart-contract;
- set of libraries to build app with RLN (rlnjs, zerokit).
To learn more on RLN and how it works - check out documentation.