How to setup wallet connections with Phantom Connect

Integrate Phantom Connect into your Solana app. Handle social logins, multiple wallet types, and transaction signing with the code examples below.

What can you build with Phantom Connect?

Phantom Connect provides a complete wallet integration solution. Each section includes working code you can copy directly into your project.

Integration Setup

Install @phantom/react-sdk, wrap your app with the provider, and configure connection options.

Connection Types

Support Phantom extension, mobile app, Google login, Apple login, and other Solana wallets via the wallet standard.

Wallet Interactions

Sign transactions, send SOL, stake to validators, and interact with any Solana program using the connected wallet.

Why Phantom Connect?

  • One SDK, all wallets: Connect Phantom, Solflare, Backpack, and any wallet-standard compatible wallet.
  • Social login: Users can sign in with Google or Apple without installing a browser extension.
  • Built-in UI: Pre-styled modal handles the connection flow. Customize theme to match your app.
  • React hooks: Simple hooks like useWallet() and useModal() for clean integration.