Minimal Anti Collusion Infrastructure (MACI) / genProofRapidSnark
Variable: genProofRapidSnark()
const
genProofRapidSnark: ({ 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