Skip to main content
This page demonstrates how to use each method from the MobileWalletAdapter client. Make sure you have completed the Installation and Setup steps first.

Connect / Disconnect

Use connect to establish a wallet connection. On success, the TransactionResult contains an AuthorizationResult with the user’s wallet address and auth token.
Use disconnect to revoke authorization and invalidate the stored auth token:

Sign Message

Use signMessagesDetached within a transact session to request the wallet to sign an arbitrary byte payload.

Sign In with Solana (SIWS)

Use signIn to connect to a wallet and verify ownership in a single step. This combines authorization and message signing into one user interaction.
To sign in and continue issuing additional requests in the same session, include the signInPayload parameter with transact:

Sign and Send Transaction

Use signAndSendTransactions within a transact session to request the wallet to sign a transaction and submit it to the Solana network.

Next steps

Sample Apps

Browse reference apps to jumpstart your development.

JSON RPC Requests

Learn the rpc-core library to create and send Solana RPC Requests.
Last modified on July 21, 2026