Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / generateProofRapidSnark

Variable: generateProofRapidSnark()

const generateProofRapidSnark: ({ inputs, zkeyPath, witnessExePath, rapidsnarkExePath, }) => Promise<FullProveResult>

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

Generate a zk-SNARK proof using rapidnsark

Parameters

{ inputs, zkeyPath, witnessExePath, rapidsnarkExePath, }

IGenProofOptions

Returns

Promise<FullProveResult>

the zk-SNARK proof and public signals