Backend
Extends
VerifierBackend
Methods
destroy()
destroy(): Promise<void>
Returns
Promise
<void
>
Inherited from
VerifierBackend.destroy
Description
Destroys the backend
generateProof()
generateProof(decompressedWitness): Promise<ProofData>
Parameters
Parameter | Type |
---|---|
decompressedWitness | Uint8Array |
Returns
Promise
<ProofData
>
Description
Generates a proof
generateRecursiveProofArtifacts()
generateRecursiveProofArtifacts(proofData, numOfPublicInputs): Promise<object>
Parameters
Parameter | Type |
---|---|
proofData | ProofData |
numOfPublicInputs | number |
Returns
Promise
<object
>
Description
Retrieves the artifacts from a proof in the Field format
verifyProof()
verifyProof(proofData): Promise<boolean>
Parameters
Parameter | Type |
---|---|
proofData | ProofData |
Returns
Promise
<boolean
>
Inherited from
VerifierBackend.verifyProof
Description
Verifies a proof
Generated using typedoc-plugin-markdown and TypeDoc