Minimal Anti Collusion Infrastructure (MACI) / generateAndVerifyProof
Function: generateAndVerifyProof()
generateAndVerifyProof(
inputs
,zkeyPath
,useWasm
,rapidsnarkExePath
,witnessExePath
,wasmPath
,pollVk
):Promise
<string
[]>
Defined in: commands/joinPoll.ts:58
Generate and verify poll proof
Parameters
inputs
CircuitInputs
the inputs to the circuit
zkeyPath
string
the path to the zkey
useWasm
whether we want to use the wasm witness or not
undefined
| boolean
rapidsnarkExePath
the path to the rapidnsark binary
undefined
| string
witnessExePath
the path to the compiled witness binary
undefined
| string
wasmPath
the path to the wasm witness
undefined
| string
pollVk
IVkObjectParams
Poll verifying key
Returns
Promise
<string
[]>
proof - an array of strings