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

Connect / Disconnect

Use connect to initiate a wallet connection and disconnect to end it. The account field contains the connected wallet’s public key.

Sign Message

Use signMessage to request the wallet to sign an arbitrary byte payload. This is useful for off-chain signature verification.

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.

Sign and Send Transaction

Use signAndSendTransaction to request the wallet to sign a transaction and submit it to the Solana network.

Next steps

Advanced: Invoke MWA Sessions Directly

Learn the low-level transact() API for direct MWA session control.

Sample Apps

Browse reference apps to jumpstart your development.
Last modified on July 21, 2026