ScWasmBridge class abstract

Bridge for computing SC transaction signing digests.

The package provides three implementations:

  • ScWasmIsolateBridge (default through ScTransactionBuilder.create): runs the bundled sc.wasm in short-lived background isolates.
  • ScWasmRunBridge: interprets the bundled sc.wasm with package:wasd in the current isolate. It is used by the worker and remains available for callers that explicitly need a direct bridge.
  • ScGoFfiBridge: calls a native library through dart:ffi, much faster, but the caller must supply a library built for their platform.
Implementers

Constructors

ScWasmBridge()

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
processUnsignedTransaction(ScUnsignedTransaction unsignedTx) Future<ScWasmResult>
toString() String
A string representation of this object.
inherited

Operators

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