@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`
11 lines (8 loc) • 562 B
text/typescript
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'
// Expose helpers
export { calculateExternalNullifier, calculateRateCommitment, calculateSignalHash, shamirRecovery, DEFAULT_MERKLE_TREE_DEPTH } from './common'
export { RLNFullProof, RLNSNARKProof, RLNWitness, RLNPublicSignals, RLNProver, RLNVerifier, WithdrawProver } from './circuit-wrapper'