> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phantom.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recipes

> Ready-to-use code examples for common Phantom Connect integration patterns

Recipes are complete, working code examples organized by what you want to build. Each recipe includes full source code you can copy directly into your project.

## Popular

Get started quickly with these commonly used recipes.

<CardGroup cols={2} horizontal>
  <Card title="Send SOL" icon="paper-plane" href="/recipes/payments/send-sol">
    Transfer SOL to any wallet address
  </Card>

  <Card title="Social login (Google, Apple)" icon="google" href="/recipes/auth/social-login">
    Let users sign in with Google or Apple and get a wallet
  </Card>

  <Card title="Sign a message" icon="pen" href="/recipes/signatures/sign-message">
    Request a signature from the connected wallet
  </Card>

  <Card title="Check wallet balance" icon="dollar-sign" href="/recipes/wallet-operations/check-balance">
    Get SOL and token balances for the connected wallet
  </Card>
</CardGroup>

***

## All recipes

<CardGroup cols={3}>
  <Card title="Authentication" icon="key" href="#authentication">
    Sign in users with Google, Apple, or browser extension
  </Card>

  <Card title="Payments" icon="credit-card" href="#payments">
    Send SOL, USDC, and other tokens
  </Card>

  <Card title="Signatures" icon="signature" href="#signatures">
    Sign messages for agreements and verification
  </Card>

  <Card title="Wallet operations" icon="wallet" href="#wallet-operations">
    Check balances and manage token accounts
  </Card>

  <Card title="Transactions" icon="exchange" href="#transactions">
    Advanced transaction features and monitoring
  </Card>
</CardGroup>

***

## Authentication

Connect users to your app with Phantom wallets.

<CardGroup cols={2}>
  <Card title="Social login (Google, Apple)" icon="google" href="/recipes/auth/social-login">
    Let users sign in with Google or Apple and get a wallet
  </Card>

  <Card title="Browser extension login" icon="browser" href="/recipes/auth/extension-login">
    Connect to existing Phantom browser extension wallets
  </Card>

  <Card title="Session management" icon="clock" href="/recipes/auth/session-management">
    Keep users logged in across page reloads
  </Card>
</CardGroup>

***

## Payments

Send and receive tokens on Solana.

<CardGroup cols={2}>
  <Card title="Send SOL" icon="paper-plane" href="/recipes/payments/send-sol">
    Transfer SOL to any wallet address
  </Card>

  <Card title="Send USDC" icon="dollar-sign" href="/recipes/payments/send-usdc">
    Transfer USDC stablecoin payments
  </Card>

  <Card title="Send any SPL token" icon="coins" href="/recipes/payments/send-spl-token">
    Transfer any SPL token by mint address
  </Card>

  <Card title="Request payment" icon="qrcode" href="/recipes/payments/request-payment">
    Generate payment requests with Solana Pay
  </Card>
</CardGroup>

***

## Signatures

Sign messages for user agreements, terms of service, or data integrity.

<CardGroup cols={2}>
  <Card title="Sign a message" icon="pen" href="/recipes/signatures/sign-message">
    Request a signature from the connected wallet
  </Card>
</CardGroup>

***

## Wallet operations

Check balances, view token accounts, and manage wallet state.

<CardGroup cols={2}>
  <Card title="Check wallet balance" icon="dollar-sign" href="/recipes/wallet-operations/check-balance">
    Get SOL and token balances for the connected wallet
  </Card>

  <Card title="Get all token accounts" icon="list" href="/recipes/wallet-operations/get-token-accounts">
    List all SPL token accounts and balances
  </Card>
</CardGroup>

***

## Transactions

Advanced transaction features for better user experience and monitoring.

<CardGroup cols={2}>
  <Card title="Add priority fees" icon="zap" href="/recipes/transactions/add-priority-fees">
    Add priority fees for faster confirmation
  </Card>

  <Card title="Check transaction status" icon="clock" href="/recipes/transactions/check-transaction-status">
    Monitor transaction confirmation and get details
  </Card>

  <Card title="Sponsored transactions" icon="gift" href="/recipes/transactions/sponsored-transaction">
    Let your dApp pay fees so users don't need SOL
  </Card>
</CardGroup>

***

## Quickstarts

Get up and running in your framework of choice.

<CardGroup cols={2}>
  <Card title="Next.js" icon="react" href="/recipes/quickstarts/nextjs">
    Full setup guide for Next.js App Router
  </Card>

  <Card title="React (Vite)" icon="react" href="/recipes/quickstarts/react">
    Full setup guide for React with Vite
  </Card>

  <Card title="Vanilla JavaScript" icon="js" href="/recipes/quickstarts/vanilla-js">
    Full setup guide without a framework
  </Card>

  <Card title="React Native" icon="mobile" href="/recipes/quickstarts/react-native">
    Full setup guide for React Native mobile apps
  </Card>
</CardGroup>

***

## Example apps

Production-ready example applications on GitHub.

<CardGroup cols={2}>
  <Card title="React SDK Demo" icon="github" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/react-sdk-demo-app">
    Complete React app with all SDK features
  </Card>

  <Card title="Next.js Starter" icon="github" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/with-nextjs">
    Production Next.js template
  </Card>

  <Card title="Browser SDK Demo" icon="github" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/browser-sdk-demo-app">
    Vanilla JavaScript implementation
  </Card>

  <Card title="React Native Demo" icon="github" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/react-native-sdk-demo-app">
    React Native mobile app example
  </Card>
</CardGroup>
