@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`
13 lines (12 loc) • 456 B
TypeScript
import { VerificationKey } from './types';
type ICircuitParams = {
wasmFile: string | Uint8Array;
finalZkey: string | Uint8Array;
};
type IRLNParams = ICircuitParams & {
verificationKey: VerificationKey;
};
type IWithdrawParams = ICircuitParams;
export declare function getDefaultRLNParams(treeDepth: number): Promise<IRLNParams | undefined>;
export declare function getDefaultWithdrawParams(): Promise<IWithdrawParams>;
export {};