ZKPPacker.(constructor)
Creates an instance of ZKPPacker.
Signature:
constructor(provingParamsMap: Map<string, ProvingParams>, verificationParamsMap: Map<string, VerificationParams>);
Parameters
Parameter | Type | Description |
---|---|---|
provingParamsMap | Map<string, ProvingParams> | string is derived by JSON.parse(ProvingMethodAlg) |
verificationParamsMap | Map<string, VerificationParams> | string is derived by JSON.parse(ProvingMethodAlg) |