MinimalSatelliteConnection
Defined in: siwx-react/src/satelliteHelpers.ts:16
Duck-typed subset of an active Satellite Connect connection, so @tuwaio/siwx-react does not depend on
@tuwaio/satellite-core. Only address, chainId, signMessage and connector are read by the helpers.
Properties
address?
optionaladdress?:string
Defined in: siwx-react/src/satelliteHelpers.ts:20
Connected account, as a plain address or a CAIP-10 account ID.
chainId?
optionalchainId?:string|number
Defined in: siwx-react/src/satelliteHelpers.ts:22
Connected chain: an EVM chain ID number, a chain reference or a CAIP-2 ID.
connectedAccount?
optionalconnectedAccount?:unknown
Defined in: siwx-react/src/satelliteHelpers.ts:31
Connected account object of the wallet library. Not read by the helpers.
connectedWallet?
optionalconnectedWallet?:unknown
Defined in: siwx-react/src/satelliteHelpers.ts:33
Connected wallet object of the wallet library. Not read by the helpers.
connector?
optionalconnector?:object
Defined in: siwx-react/src/satelliteHelpers.ts:29
EVM connector, for example the wagmi Connector of an EVMConnection from @tuwaio/satellite-evm. Only its
presence is read: it marks the connection as EVM in getSatelliteSiwxFields.
isConnected?
optionalisConnected?:boolean
Defined in: siwx-react/src/satelliteHelpers.ts:18
Whether the wallet is connected. Not read by the helpers.
signMessage?
optionalsignMessage?: (message) =>Promise<string>
Defined in: siwx-react/src/satelliteHelpers.ts:24
Signs a message with the connected wallet. Returned by createSatelliteSiwxSigner.
Parameters
message
string
Returns
Promise<string>