Skip to main content

React hooks for Solana

Embedded Wallets provides a set of React hooks for basic Solana wallet operations. These hooks are designed to simplify common Solana interactions in your React app.

info

For advanced Solana features, you should use @solana/web3.js on top of the hooks provided.

Solana hooks

Hook NameDescription
useSignAndSendTransactionSign and send a Solana transaction.
useSignMessageSign a message with the Solana wallet.
useSignTransactionSign a Solana transaction (without sending).
useSolanaWalletAccess Solana wallet state and utilities.

Further code and advanced usage should be implemented using Solana's web3.js library as needed.

Was this page helpful?

On this page