> ## 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.

# Phantom Connect SDKs

> Compare Phantom Connect SDKs for React, React Native, and plain JavaScript to find the right fit.

The Phantom Connect client SDKs (React, React Native, Browser) let your app authenticate users and create embedded wallets. All client SDKs support Google and Apple social login. Web SDKs (React, Browser) additionally support browser extension connections (the `injected` provider). Users who connect with the Phantom extension use their existing wallet without creating a new embedded wallet.

The [Phantom CLI](#phantom-cli) is an adjacent tool with its own setup path and authenticates with `phantom login`.

<Note>
  The Phantom Connect client SDKs are open source. Browse the source code, file issues, and contribute at [github.com/phantom/phantom-connect-sdk](https://github.com/phantom/phantom-connect-sdk).
</Note>

## Prerequisites (client SDKs)

The React, React Native, and Browser SDKs require that you sign up for an account in Phantom Portal:

1. Sign up at [Phantom Portal](https://phantom.com/portal/).
2. Register your app.
3. Configure allowed domains and redirect URLs.
4. Get your App ID.

<Card title="Get started" icon="gear" href="/phantom-portal/getting-started">
  Create an app in Phantom Portal to get your App ID and start building
</Card>

The Phantom CLI does not use this Portal flow. See its setup notes below.

## 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

<Card title="React SDK documentation" icon="react" href="/sdks/react-sdk/index">
  Get started with the Phantom Connect React SDK
</Card>

#### 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)

<Card title="Browser SDK documentation" icon="browser" href="/sdks/browser-sdk/index">
  Get started with the Phantom Connect Browser SDK
</Card>

### 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

<Card title="React Native SDK documentation" icon="mobile" href="/sdks/react-native-sdk/index">
  Get started with the Phantom Connect React Native SDK
</Card>

### Command line

#### Phantom CLI

Use the Phantom CLI to interact with your wallet from the terminal. Sign transactions, transfer tokens, swap, manage balances, and trade perpetuals. The CLI also runs as an MCP server for AI agent integration.

Ideal use cases:

* Developer workflows and scripting
* AI agent integration via MCP
* Automated token transfers and swaps
* Perpetuals trading from the command line

**Setup.** The CLI does not require Phantom Portal signup. Install with `npm install -g @phantom/cli`, then run `phantom login` to authenticate via Google, Apple, or your Phantom extension in the browser. See [Phantom CLI — Installation](/phantom-cli/installation) for details.

<Card title="CLI documentation" icon="terminal" href="/phantom-cli">
  Get started with the Phantom CLI
</Card>

## Client SDK wallet model

Phantom Connect client SDKs provide user-controlled wallets:

* Users connect their existing Phantom wallets
* Users maintain full control of private keys
* Authentication via social login or browser extension
* Best for apps where users manage their own assets

## 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

## Chain support

<Warning>
  **Monad support will be deprecated on August 26, 2026.** Do not start new Monad integrations. Existing injected wallet integrations can continue during the transition.
</Warning>

<Warning>
  **Sui support will be deprecated on September 24, 2026.** Do not start new Sui integrations. Existing injected wallet integrations can continue during the transition.
</Warning>

The following table shows current network availability across Phantom Connect SDKs:

| Chain                             | Embedded wallets | Injected wallets               |
| --------------------------------- | ---------------- | ------------------------------ |
| Solana (Mainnet, Devnet, Testnet) | Supported        | Supported                      |
| Ethereum                          | Coming soon      | Supported                      |
| Polygon                           | Coming soon      | Supported                      |
| Base                              | Coming soon      | Supported                      |
| Arbitrum                          | Coming soon      | Supported                      |
| Sui                               | Not available    | Deprecating September 24, 2026 |
| Monad                             | Not available    | Deprecating August 26, 2026    |

<Info>
  EVM chain support for embedded wallets is planned for later in 2026. Injected wallet connections (Phantom browser extension) already support Ethereum, Polygon, Base, and Arbitrum.
</Info>

## Authentication options

All client SDKs support **social login** (Google and Apple) and **seven-day active sessions**.

Web SDKs (React, Browser) additionally support:

* **Browser extension** (`injected`): Connect directly to the Phantom browser extension

<Info>
  The React Native SDK currently supports Google and Apple social login only. Browser extension connections are not available on React Native.
</Info>

<Info>
  **Learn more about Phantom Connect**: For detailed information about authentication flows, account selection, and session management, see the [Phantom Connect](/phantom-connect) guide.
</Info>

## Example apps

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

<CardGroup cols={3}>
  <Card title="React SDK demo" icon="react" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/react-sdk-demo-app">
    Full-featured React example with all SDK capabilities
  </Card>

  <Card title="Browser SDK demo" icon="globe" 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="mobile" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/react-native-sdk-demo-app">
    Mobile app with Expo
  </Card>

  <Card title="Next.js example" icon="rocket" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/with-nextjs">
    Complete Next.js integration
  </Card>

  <Card title="Wagmi integration" icon="code" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/with-wagmi">
    Use with Wagmi for Ethereum
  </Card>

  <Card title="Connect modal with deeplinks" icon="mobile" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples/with-modal">
    Modal with mobile deeplink support
  </Card>

  <Card title="All examples" icon="github" href="https://github.com/phantom/phantom-connect-sdk/tree/main/examples">
    Browse all examples on GitHub
  </Card>
</CardGroup>

## Key management and signing

All Phantom Connect SDKs support KMS-backed wallets. The SDK completes a Connect sign-in and stamps requests so KMS can validate, authorize, and sign.

<Card title="How Phantom KMS works" icon="key" href="/sdks/guides/how-kms-works">
  Learn how KMS handles key storage and signing for wallets.
</Card>

## AI-powered setup

Use the [Phantom Cursor plugin](https://cursor.com/marketplace/phantom) to scaffold any SDK project with AI. The plugin includes skills for React, React Native, and Browser SDK setup. Your Cursor agent handles installation, configuration, and boilerplate automatically.

<Card title="Phantom Cursor plugin" icon="puzzle-piece" href="/resources/cursor-plugin">
  Install the Cursor plugin to scaffold projects, generate integration code, and execute wallet operations with AI
</Card>

## Need help?

<CardGroup cols={3}>
  <Card title="Support" icon="life-ring" href="https://docs.google.com/forms/d/e/1FAIpQLSeHWETFkEJbHQCF-lnl1AHmVQPuyfC0HbnxjDjIp6VYV1sBZQ/viewform">
    Get help from our developer support team
  </Card>

  <Card title="Sandbox" icon="code" href="/resources/sandbox">
    Test your integration in our sandbox
  </Card>

  <Card title="FAQ" icon="circle-question" href="/resources/faq">
    Find answers to common questions
  </Card>
</CardGroup>
