Skip to main content
Version: dev

UltraHonkBackend

Implements

Constructors

new UltraHonkBackend(acirCircuit, options)

new UltraHonkBackend(acirCircuit, options): UltraHonkBackend

Parameters

ParameterType
acirCircuitCompiledCircuit
optionsBackendOptions

Returns

UltraHonkBackend

Properties

PropertyTypeDescription
acirUncompressedBytecodeUint8Array-
apiBarretenberg-
optionsBackendOptions-

Methods

destroy()

destroy(): Promise<void>

Returns

Promise<void>

Implementation of

Backend.destroy

Description

Destroys the backend


generateProof()

generateProof(decompressedWitness): Promise<ProofData>

Parameters

ParameterType
decompressedWitnessUint8Array

Returns

Promise<ProofData>

Implementation of

Backend.generateProof

Description

Generates a proof


generateRecursiveProofArtifacts()

generateRecursiveProofArtifacts(_proofData, _numOfPublicInputs): Promise<object>

Parameters

ParameterType
_proofDataProofData
_numOfPublicInputsnumber

Returns

Promise<object>

Implementation of

Backend.generateRecursiveProofArtifacts

Description

Retrieves the artifacts from a proof in the Field format


getVerificationKey()

getVerificationKey(): Promise<Uint8Array>

Returns

Promise<Uint8Array>


verifyProof()

verifyProof(proofData): Promise<boolean>

Parameters

ParameterType
proofDataProofData

Returns

Promise<boolean>

Implementation of

Backend.verifyProof

Description

Verifies a proof


Generated using typedoc-plugin-markdown and TypeDoc