SolanaConnection
Defined in: satellite-solana/src/types.ts:9
A Solana connection in the Satellite Connect store: BaseConnector from @tuwaio/satellite-core plus the Wallet
Standard handles of the wallet and account. chainId is a cluster moniker (for example "devnet") and
signMessage returns a base58 signature.
Extends
Properties
address
address:
string
Defined in: satellite-core/src/types.ts:34
Connected account: a 0x address for EVM, a base58 address for Solana.
Inherited from
chainId
chainId:
string|number
Defined in: satellite-core/src/types.ts:39
Chain the wallet is connected to: a numeric chain ID for EVM (for example 1), a cluster moniker for Solana
(for example "devnet" or "mainnet").
Inherited from
connectedAccount?
optionalconnectedAccount?:UiWalletAccount
Defined in: satellite-solana/src/types.ts:11
Wallet Standard UI handle of the connected account (the first account of the wallet).
connectedWallet?
optionalconnectedWallet?:UiWallet
Defined in: satellite-solana/src/types.ts:13
Wallet Standard UI handle of the connected wallet.
connectorType
connectorType:
`evm:${string}`|`solana:${string}`|`starknet:${string}`
Defined in: satellite-core/src/types.ts:32
Connector identifier in the form "<adapter>:<wallet>", for example "evm:metamask" or "solana:phantom".
Inherited from
icon?
optionalicon?:string
Defined in: satellite-core/src/types.ts:50
Wallet icon provided by the wallet, usually a data: URI.
Inherited from
isConnected
isConnected:
boolean
Defined in: satellite-core/src/types.ts:48
Whether the wallet reports the account as connected.
Inherited from
isContractAddress
isContractAddress:
boolean
Defined in: satellite-core/src/types.ts:46
true when the account is a smart contract (for example a Safe), as reported by checkIsContractAddress.
Inherited from
BaseConnector.isContractAddress
rpcURL
rpcURL:
string
Defined in: satellite-core/src/types.ts:44
RPC URL of the connected chain, set by the adapter. EVM: the default RPC URL of the chain definition; Solana: the
URL configured for the cluster in the adapter’s rpcUrls.
Inherited from
signMessage?
optionalsignMessage?: (message) =>Promise<string>
Defined in: satellite-core/src/types.ts:58
Signs a UTF-8 message with the connected account and resolves to the signature: a hex string for EVM
(personal_sign), a base58 string for Solana (solana:signMessage). Rejects when the user declines.
Parameters
message
string
The message to sign.
Returns
Promise<string>
The signature.