Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / extractVk

Function: extractVk()

extractVk(zkeyPath, cleanup?): Promise<IVkObjectParams>

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<IVkObjectParams>

the verification key