UNPKG

@cryptkeeperzk/rlnjs

Version:

Client library for generating and using RLN ZK proofs, is a forked repo from main Rate-Limiting-Nullifier/rlnjs to make it work with Cryptkeeper Browser Extension using `@cryptkeeperzk/snarkjs` and `@cryptkeeperzk/ffjavascript`

8 lines (7 loc) 555 B
export { IRLN, RLN } from './rln'; export { ContractRLNRegistry, IRLNRegistry, MemoryRLNRegistry } from './registry'; export { CachedProof, ICache, MemoryCache, Status } from './cache'; export { IMessageIDCounter } from './message-id-counter'; export * from './types'; export { calculateExternalNullifier, calculateRateCommitment, calculateSignalHash, shamirRecovery, DEFAULT_MERKLE_TREE_DEPTH } from './common'; export { RLNFullProof, RLNSNARKProof, RLNWitness, RLNPublicSignals, RLNProver, RLNVerifier, WithdrawProver } from './circuit-wrapper';