Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / extractVerifyingKey

Variable: extractVerifyingKey()

const extractVerifyingKey: (zkeyPath, cleanup?) => Promise<IVerifyingKeyObjectParams>

Defined in: packages/contracts/build/ts/proofs.d.ts:36

Extract the Verification Key from a zKey

Parameters

zkeyPath

string

the path to the zKey

cleanup?

boolean

whether to cleanup the threads or not

Returns

Promise<IVerifyingKeyObjectParams>

the verification key