WalletSDK class

SDK launchs a hidden webView to run polkadot.js/api for interacting with the substrate-based block-chain network.

Constructors

WalletSDK()

Properties

api PolkawalletApi
getter/setter pair
blackList → dynamic
no setter
ethers ApiEthers
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webView WebViewRunner?
webView instance, this is the only instance of FlutterWebViewPlugin in App, we need to get it and reuse in other sdk.
no setter

Methods

init(Keyring keyring, {KeyringEVM? keyringEVM, WebViewRunner? webView, String? jsCode, Function? socketDisconnectedAction, bool isEVM = false}) Future<void>
param jsCode is customized js code of parachain, the api works without jsCode param in Kusama/Polkadot.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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