ScWasmIsolateBridge class

Runs SC WASM work outside the caller's isolate.

Each request is serialized and runs in a short-lived isolate. The isolate exits after the request completes, so callers do not need to know about a worker port or call dispose merely to let a Dart process exit. This keeps WASM parsing and instantiation off the Flutter UI isolate while preserving the old no-cleanup lifecycle.

Inheritance

Constructors

ScWasmIsolateBridge(Uint8List wasmBytes)

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

dispose() → void
Releases the caller-side WASM bytes.
extractV2TransactionSemantics(Map<String, dynamic> unsignedTransaction, {Iterable<String> changeAddresses = const []}) → Future<ScV2TransactionSemantics>
inherited
extractV2TransactionSemanticsJson(String jsonString) → Future<String>
override
inspectV2TransactionSemantics(Uint8List semanticBytes, {Iterable<String> changeAddresses = const []}) → Future<ScV2TransactionSemantics>
inherited
inspectV2TransactionSemanticsJson(String jsonString) → Future<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processJson(String jsonString) → Future<String>
Implementation-specific: take the unsigned transaction JSON, compute the signing digests, and return the result transaction JSON string.
override
processUnsignedTransaction(ScUnsignedTransaction unsignedTx) → Future<ScWasmResult>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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