mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-01-23 10:23:13 +00:00
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 15.3.1 to 16.0.3. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/node-resolve-v16.0.3/packages/node-resolve) --- updated-dependencies: - dependency-name: "@rollup/plugin-node-resolve" dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
@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
Smart Contract Type Generation
We use wagmi to generate TypeScript bindings for interacting with the RLN smart contracts.
When changes are pushed to the waku-rlnv2-contract repository, run the following script to fetch and build the latest contracts and generate the TypeScript bindings:
npm run setup:contract-abi
Note that we commit/bundle the generated typings, so it's not necessary to run this script unless the contracts are updated.
Usage
import { RLN } from '@waku/rln';
// Usage examples coming soon
License
MIT OR Apache-2.0