Danish Arora 4adf8706c3
feat(rln): create CredentialsManager without Zerokit (#2295)
* chore: update ABI

* chore: update contract address and chain ID to Linea Sepolia

* chore: improve error handling

* fix: bigint conversion

* chore: update tests

* chore: clean comments

* chore: export keystore types

* chore: update README with contract address

* tests: add reusable mock functions

* chore: LINEA_CONTRACT instead of SEPOLIA_CONTRACT

* chore: add linea to cspell

* chore: add rateLimit to MembershipInfo

* fix: determine start options

* feat: RLNLight

* chore: fix

* chore: export

* fix: returns for ratelimit

* chore: big number conversions

* chore: rename RLNLight to CredentialsManager, add logs

* chore: setup and use rln_base_contract

* chore: use CredentialsManager for rln.ts

* chore: public methods written above private methods

* fix: rate limit getter

* chore: simplify getters/setters

* chore: insert empty line
2025-04-07 16:04:06 +05:30
..
2025-02-11 15:28:00 +05:30
2025-02-11 15:28:00 +05:30
2025-03-24 14:41:33 +01:00
2025-02-11 15:28:00 +05:30
2025-02-11 15:28:00 +05:30
2025-02-11 15:28:00 +05:30

@waku/rln

Rate Limiting Nullifier (RLN) implementation for Waku.

Description

This package provides RLN functionality for the Waku protocol, enabling rate-limiting capabilities while preserving privacy.

Installation

npm install @waku/rln

Usage

import { RLN } from '@waku/rln';

// Usage examples coming soon

Constants

  • Implementation contract: 0xde2260ca49300357d5af4153cda0d18f7b3ea9b3
  • Proxy contract: 0xb9cd878c90e49f797b4431fbf4fb333108cb90e6

License

MIT OR Apache-2.0