Skip to main content

Connect to Solana

Solana is a high-performance network that provides fast transaction speeds and low fees. Connect to Solana in MetaMask using @metamask/connect-solana.

The Solana client implements the Wallet Standard, so it works with Solana's Wallet Adapter, and integrates with Framework Kit for a hooks-based React workflow.

MetaMask Connect Solana handles platform detection, relay connections, and session persistence automatically. You interact with the wallet through the client APIs.

Ready to code?

Jump to the Wallet Adapter guide for a React dapp, or the JavaScript quickstart to use wallet-standard features directly.

Going multichain?

If your dapp targets both EVM and Solana from a single codebase, consider using @metamask/connect-multichain directly. The multichain client provides a unified invokeMethod interface for both ecosystems and manages scopes, sessions, and selective disconnect in one place. See the multichain quickstart to get started.

Get started

Third-party libraries

Several third-party libraries for Solana dapps detect and handle MetaMask out-of-the-box, including: