SolanaWalletAdapterDesktopPlatform class

Solana Wallet Adapter Desktop Platform

A Solana wallet adapter for Desktop browsers.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isDesktopBrowser bool
** For Desktop Browsers Only **
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store → StoreInfo
Returns the platform's store handler.
no setteroverride

Methods

addListeners(DesktopBrowserProvider provider) → void
Adds event listeners to the wallet provider.
override
encodeAccount(Account account) String
Encodes account to an encoded public key address that can passed to the adapter's sign message method.
override
encodeMessage(String message) String
Encodes a utf-8 message to an encoded string that can passed to the adapter's sign message method.
override
encodeTransaction(TransactionSerializableMixin transaction, {required TransactionSerializableConfig config}) String
Serializes transaction to an encoded string that can passed to the adapter's sign transaction methods.
override
initializeWeb(AuthorizeResult? result, WebListener listener) Future<void>
** For Desktop Browsers Only **
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openUri(Uri uri, [String? target]) Future<bool>
Launches uri and returns true if successful.
inherited
openWallet(Uri uri) Future<bool>
Launches a wallet application for the association uri.
override
removeListeners(DesktopBrowserProvider provider) → void
Removes event listeners from the wallet provider.
override
scenario({Duration? timeLimit}) DesktopBrowserScenario
Returns the platform's scenario handler.
override
toString() String
A string representation of this object.
inherited

Operators

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