Skip to main content
Version: v0.35.0

UltraHonkBackend

Implements

Constructors

new UltraHonkBackend(acirCircuit, options)

new UltraHonkBackend(acirCircuit, options): UltraHonkBackend

Parameters

ParameterType
acirCircuitCompiledCircuit
optionsBackendOptions

Returns

UltraHonkBackend

Properties

PropertyTypeDescription
backendUltraHonkBackend-

Methods

destroy()

destroy(): Promise<void>

Returns

Promise<void>


generateProof()

generateProof(compressedWitness): Promise<ProofData>

Parameters

ParameterType
compressedWitnessUint8Array

Returns

Promise<ProofData>


generateRecursiveProofArtifacts()

generateRecursiveProofArtifacts(proofData, numOfPublicInputs): Promise<object>

Parameters

ParameterType
proofDataProofData
numOfPublicInputsnumber

Returns

Promise<object>


getVerificationKey()

getVerificationKey(): Promise<Uint8Array>

Returns

Promise<Uint8Array>


verifyProof()

verifyProof(proofData): Promise<boolean>

Parameters

ParameterType
proofDataProofData

Returns

Promise<boolean>


Generated using typedoc-plugin-markdown and TypeDoc