Skip to main content
The Phantom Connect SDKs let your app authenticate users with Google or Apple and automatically create embedded wallets. Users who already have the Phantom extension can also connect with their existing wallet, without creating a new embedded wallet.

Prerequisites

All SDKs require that you sign up for an account in Phantom Portal:
  1. Sign up at Phantom Portal.
  2. Register your app.
  3. Configure allowed domains and redirect URLs.
  4. Get your App ID.

Get started

Create an app in Phantom Portal to get your App ID and start building

Explore our SDKs

Each SDK is designed for specific use cases and environments, providing wallet integration across web and mobile platforms.

Web apps

React SDK

Use the React SDK when building React web apps that need wallet connectivity. It provides React hooks for integration with your component architecture. Ideal use cases:
  • DeFi platforms built with React
  • NFT marketplaces
  • Web3 gaming interfaces
  • Token management dashboards

React SDK documentation

Get started with the Phantom Connect React SDK

Browser SDK

Use the Phantom Connect Browser SDK for JavaScript/TypeScript apps or any web framework that isn’t React (such as Vue, Angular, Svelte). Ideal use cases:
  • Vanilla JavaScript apps
  • Vue.js or Angular apps
  • Server-side rendered apps
  • Progressive Web Apps (PWAs)

Browser SDK documentation

Get started with the Phantom Connect Browser SDK

Mobile apps

React Native SDK

Use the Phantom Connect React Native SDK to build native mobile wallet experiences on iOS and Android with React Native. Supports secure OAuth authentication with Google and Apple. Ideal use cases:
  • Mobile-first DeFi apps
  • Mobile gaming with blockchain integration
  • Mobile NFT galleries
  • Cross-platform wallet apps

React Native SDK documentation

Get started with the Phantom Connect React Native SDK

Security models

All Phantom Connect SDKs are built with enterprise-grade security:
  • Trusted Execution Environments (TEEs) for secure operations
  • Hardware Security Modules (HSMs) for key encryption
  • Multi-layer encryption with threshold cryptography
  • Cryptographically signed audit trails for compliance
  • Organization-based access control with configurable policies

Transaction security for embedded wallets

All transactions signed for embedded wallets pass through Phantom’s advanced simulation system before execution. This security layer:
  • Simulates transactions before they’re broadcast to detect potential threats
  • Automatically blocks malicious transactions that could drain funds or exploit vulnerabilities
  • Blocks transactions from origins that have been reported as malicious
  • Provides an additional layer of protection for your users’ assets

Multi-chain support

All Phantom Connect SDKs support multiple blockchain networks:
  • Solana (Mainnet, Devnet, Testnet)
  • Ethereum (coming soon)
  • Polygon (coming soon)
  • Base (coming soon)
  • Arbitrum (coming soon)
  • Bitcoin (coming soon)
  • Sui (coming soon)
  • Monad (coming soon)

Authentication options

Client SDKs:
  • Social login: Google, Apple
  • Session management: Seven-day active sessions
Learn more about Phantom Connect: For detailed information about authentication flows, account selection, and session management, see the Phantom Connect guide.

Example apps

Explore complete, production-ready examples built by the Phantom team:

Need help?