EVMConnection
Defined in: satellite-evm/src/types.ts:11
An EVM connection in the Satellite Connect store: BaseConnector from @tuwaio/satellite-core plus the wagmi
connector of the wallet. chainId is a numeric chain ID and signMessage signs with wagmi’s signMessage.
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:41
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"). Wallet Standard calls take the Solana cluster as solana:${chainId};
where a chain must be identified (SIWX messages, transaction records, APIs), use its CAIP-2 chain ID with the
genesis hash, getSolanaChainId(chainId) from @tuwaio/orbit-core.
Inherited from
connector?
optionalconnector?:ConnectorEVM
Defined in: satellite-evm/src/types.ts:13
The wagmi connector 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:52
Wallet icon provided by the wallet, usually a data: URI.
Inherited from
isConnected
isConnected:
boolean
Defined in: satellite-core/src/types.ts:50
Whether the wallet reports the account as connected.
Inherited from
isContractAddress
isContractAddress:
boolean
Defined in: satellite-core/src/types.ts:48
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:46
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:60
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.