UltraHonkBackend
Implements
Constructors
new UltraHonkBackend(acirCircuit, options)
new UltraHonkBackend(acirCircuit, options): UltraHonkBackend
Parameters
Parameter | Type |
---|---|
acirCircuit | CompiledCircuit |
options | BackendOptions |
Returns
Properties
Property | Type | Description |
---|---|---|
backend | UltraHonkBackend | - |
Methods
destroy()
destroy(): Promise<void>
Returns
Promise
<void
>
generateProof()
generateProof(compressedWitness): Promise<ProofData>
Parameters
Parameter | Type |
---|---|
compressedWitness | Uint8Array |
Returns
Promise
<ProofData
>
generateRecursiveProofArtifacts()
generateRecursiveProofArtifacts(proofData, numOfPublicInputs): Promise<object>
Parameters
Parameter | Type |
---|---|
proofData | ProofData |
numOfPublicInputs | number |
Returns
Promise
<object
>
getVerificationKey()
getVerificationKey(): Promise<Uint8Array>
Returns
Promise
<Uint8Array
>
verifyProof()
verifyProof(proofData): Promise<boolean>
Parameters
Parameter | Type |
---|---|
proofData | ProofData |
Returns
Promise
<boolean
>
Generated using typedoc-plugin-markdown and TypeDoc