This repository contains a proof-of-concept implementation of RLN on KZG in Golang. The implementation is based on the research paper and discussion from zkresearch and the code reference from Rate-Limiting-Nullifier/kzg-rln.
Corresponding contract repo https://github.com/dynm/kzg-rln-contracts
Follow the instructions below to set up the project and run the provided example.
- Golang version 1.16 or higher
- Clone the repository:
git clone https://github.com/sec-bit/kzg-rln-go.git
- Navigate to the project directory:
cd kzg-rln-go
To run the Version A example, execute the following command:
cd cmd/VersionA
go run .