Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / extractVkToFile

Function: extractVkToFile()

extractVkToFile(args): Promise<void>

Defined in: packages/sdk/ts/keys/utils.ts:108

Command to confirm that the verifying keys in the contract match the local ones

Parameters

args

IExtractVkToFileArgs

The arguments for the checkVerifyingKeys command

Returns

Promise<void>

Whether the verifying keys match or not

Note

see different options for zkey files to use specific circuits https://maci.pse.dev/docs/trusted-setup, https://maci.pse.dev/docs/testing/#pre-compiled-artifacts-for-testing