UNPKG

@waku/rln

Version:

RLN (Rate Limiting Nullifier) implementation for Waku

10 lines (8 loc) 378 B
import type { RLNInstance } from "./rln.js"; export async function createRLN(): Promise<RLNInstance> { // A dependency graph that contains any wasm must all be imported // asynchronously. This file does the single async import, so // that no one else needs to worry about it again. const rlnModule = await import("./rln.js"); return rlnModule.RLNInstance.create(); }