useMobileWallet hook. Make sure you have completed the Installation and Setup steps first.
Connect / Disconnect
Useconnect to initiate a wallet connection and disconnect to end it. The account field contains the connected wallet’s public key.
Sign Message
UsesignMessage to request the wallet to sign an arbitrary byte payload. This is useful for off-chain signature verification.
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.
Sign and Send Transaction
UsesignAndSendTransaction to request the wallet to sign a transaction and submit it to the Solana network.
