NativeOrchardApi class

OrchardApi backed by a native (FFI/platform) implementation.

Implemented types

Constructors

NativeOrchardApi(BuOrchardApi api)
Creates a native Orchard backend over api.
const

Properties

api → BuOrchardApi
Underlying connector backend (Rust Orchard Halo2 core).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createProof({required Object pk, required List<int> inputs, required List<int> instances, required List<int> seed, required int version, bool disableCrossAddress = false}) → BuBytes
Proves actions from packed inputs with key pk, version and disableCrossAddress; returns proof bytes; throws CryptoException on native failure.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pkFree(Object pk) → void
Releases proving-key handle pk.
override
pkNew({required int version}) → Object
Builds a proving key for version and returns its handle; throws CryptoException on native failure.
override
toString() → String
A string representation of this object.
inherited
verifyProof({required Object pk, required List<int> proof, required List<int> instances, required int version, bool disableCrossAddress = false}) → void
Verifies proof against instances with key pk, version and disableCrossAddress; throws CryptoException on verification or native failure.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited