Class: ExodusSolanaWallet
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:55
Extends
StandardWallet
Implements
Wallet
Constructors
Constructor
new ExodusSolanaWallet(
__namedParameters
):ExodusSolanaWallet
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:137
Parameters
Parameter | Type |
---|---|
__namedParameters | WalletStandardDeps |
Returns
ExodusSolanaWallet
Overrides
StandardWallet.constructor
Accessors
accounts
Get Signature
get accounts():
ExodusSolanaWalletAccount
[]
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:133
WalletAccount | Accounts that the app is authorized to use.
This can be set by the Wallet so the app can use authorized accounts on the initial page load.
The “@wallet-standard/features”.ConnectFeature | `standard:connect` feature should be used to obtain authorization to the accounts.
The “@wallet-standard/features”.EventsFeature | `standard:events` feature should be used to notify the app if the value changes.
Returns
Implementation of
Wallet.accounts
chains
Get Signature
get chains():
"solana:mainnet"
[]
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:79
Chains supported by the Wallet.
A chain is an IdentifierString which identifies a blockchain in a canonical, human-readable format. CAIP-2 chain IDs are compatible with this, but are not required to be used.
Each blockchain should define its own chains by extension of the Wallet Standard, using its own namespace.
The standard
and experimental
namespaces are reserved by the Wallet Standard.
The “@wallet-standard/features”.EventsFeature | `standard:events` feature should be used to notify the app if the value changes.
Returns
"solana:mainnet"
[]
Implementation of
Wallet.chains
features
Get Signature
get features():
StandardConnectFeature
&StandardDisconnectFeature
&StandardEventsFeature
&SolanaSignInFeature
&SolanaSignAndSendTransactionFeature
&SolanaSignAndSendAllTransactionsFeature
&SolanaSignTransactionFeature
&SolanaSignMessageFeature
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:83
Features supported by the Wallet.
A feature name is an IdentifierString which identifies a feature in a canonical, human-readable format.
Each blockchain should define its own features by extension of the Wallet Standard.
The standard
and experimental
namespaces are reserved by the Wallet Standard.
A feature may have any type. It may be a single method or value, or a collection of them.
A conventional feature has the following structure:
export type ExperimentalEncryptFeature = {
// Name of the feature.
'experimental:encrypt': {
// Version of the feature.
version: '1.0.0';
// Properties of the feature.
ciphers: readonly 'x25519-xsalsa20-poly1305'[];
// Methods of the feature.
encrypt (data: Uint8Array): Promise<Uint8Array>;
};
};
The “@wallet-standard/features”.EventsFeature | `standard:events` feature should be used to notify the app if the value changes.
Returns
StandardConnectFeature
& StandardDisconnectFeature
& StandardEventsFeature
& SolanaSignInFeature
& SolanaSignAndSendTransactionFeature
& SolanaSignAndSendAllTransactionsFeature
& SolanaSignTransactionFeature
& SolanaSignMessageFeature
Implementation of
Wallet.features
icon
Get Signature
get icon():
any
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:75
WalletIcon | Icon of the Wallet. This may be displayed by the app.
Must be read-only, static, and canonically defined by the wallet extension or application.
Returns
any
Implementation of
Wallet.icon
name
Get Signature
get name():
any
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:71
Name of the Wallet. This may be displayed by the app.
Must be read-only, static, descriptive, unique, and canonically defined by the wallet extension or application.
Returns
any
Implementation of
Wallet.name
version
Get Signature
get version():
"1.0.0"
Defined in: web3/web3-solana/src/wallet-standard/wallet.ts:67
WalletVersion | Version of the Wallet Standard implemented by the Wallet.
Must be read-only, static, and canonically defined by the Wallet Standard.
Returns
"1.0.0"
Implementation of
Wallet.version