MobileWalletAdapter client. Make sure you have completed the Installation and Setup steps first.
Connect / Disconnect
Useconnect to establish a wallet connection. On success, the TransactionResult contains an AuthorizationResult with the user’s wallet address and auth token.
disconnect to revoke authorization and invalidate the stored auth token:
Sign Message
UsesignMessagesDetached within a transact session to request the wallet to sign an arbitrary byte payload.
Sign In with Solana (SIWS)
UsesignIn to connect to a wallet and verify ownership in a single step. This combines authorization and message signing into one user interaction.
signInPayload parameter with transact:
Sign and Send Transaction
UsesignAndSendTransactions within a transact session to request the wallet to sign a transaction and submit it to the Solana network.
