Skip to main content

ZKPPacker.(constructor)

Creates an instance of ZKPPacker.

Signature:

constructor(provingParamsMap: Map<string, ProvingParams>, verificationParamsMap: Map<string, VerificationParams>);

Parameters

ParameterTypeDescription
provingParamsMapMap<string, ProvingParams>string is derived by JSON.parse(ProvingMethodAlg)
verificationParamsMapMap<string, VerificationParams>string is derived by JSON.parse(ProvingMethodAlg)