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
inputswith keypk,versionanddisableCrossAddress; returns proof bytes; throwsCryptoExceptionon 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
versionand returns its handle; throwsCryptoExceptionon 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
proofagainstinstanceswith keypk,versionanddisableCrossAddress; throwsCryptoExceptionon verification or native failure.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited