Skip to main content
Version: dev

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

ParameterType
decompressedWitnessUint8Array

Returns

Promise<ProofData>

Description

Generates a proof


generateRecursiveProofArtifacts()

generateRecursiveProofArtifacts(proofData, numOfPublicInputs): Promise<object>

Parameters

ParameterType
proofDataProofData
numOfPublicInputsnumber

Returns

Promise<object>

Description

Retrieves the artifacts from a proof in the Field format


verifyProof()

verifyProof(proofData): Promise<boolean>

Parameters

ParameterType
proofDataProofData

Returns

Promise<boolean>

Inherited from

VerifierBackend.verifyProof

Description

Verifies a proof


Generated using typedoc-plugin-markdown and TypeDoc