DartSaplingApi class
SaplingApi pure-Dart backend.
Every method throws BuError: Groth16 proving needs the
ceremony parameters and native prover. Use NativeSaplingApi via
blockchainUtils.setRustApi() instead.
- Implemented types
Constructors
- DartSaplingApi()
-
Creates a pure-Dart Sapling backend; every method throws BuError.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paramsFree(
Object handle) → void -
Releases params
handle; pure-Dart stub always throws BuError.override -
prove(
{required Object handle, required int kind, required List< int> witness}) → BuSaplingProof -
Proves
kindcircuit fromwitnessunderhandle; pure-Dart stub always throws BuError.override -
setOutputParams(
List< int> params) → Object -
Loads Output ceremony
paramsand returns a handle; pure-Dart stub always throws BuError.override -
setSpendParams(
List< int> params) → Object -
Loads Spend ceremony
paramsand returns a handle; pure-Dart stub always throws BuError.override -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
{required Object handle, required int kind, required List< int> proof, required List<int> inputs}) → void -
Verifies
proofagainstinputsforkindunderhandle; pure-Dart stub always throws BuError.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited