skill_skill

This skill helps you implement Phantom Connect wallet integrations across React, React Native, and browser apps for Solana.
  • Shell

0

GitHub Stars

8

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill th3ya0vi/phantom-connect-skill --skill skill

  • browser-sdk.md6.4 KB
  • nft-minting.md4.6 KB
  • payments.md5.5 KB
  • react-native-sdk.md6.2 KB
  • react-sdk.md5.2 KB
  • SKILL.md4.0 KB
  • token-gating.md4.9 KB
  • transactions.md5.1 KB

Overview

This skill teaches building wallet-connected applications using Phantom Connect SDKs for Solana. It covers React, React Native, and browser SDKs, authentication methods (Google, Apple, injected extension), network support, and common integration patterns. The content focuses on practical setup, configuration, and troubleshooting for app-ready wallet connections.

How this skill works

The skill inspects the Phantom Connect SDKs and their integration flow: provider configuration, appId usage, allowed redirect URLs, and address types for Solana. It explains how to initialize SDK providers in React, React Native, and vanilla JS, how to trigger wallet auth flows, and how to sign messages and transactions. It also summarizes patterns for token gating, NFT minting, and crypto payment flows.

When to use it

  • Integrating Phantom wallet connection into a React web application.
  • Adding wallet support to React Native or Expo mobile apps.
  • Connecting wallets from vanilla JavaScript, Vue, or Angular apps.
  • Implementing auth flows with Google or Apple embedded wallets.
  • Building token-gated access, NFT minting, or Solana payment flows.

Best practices

  • Register an app on the Phantom Portal and obtain an appId before integration.
  • Add all allowed redirect URLs and domains to the Portal to prevent auth failures.
  • Choose the SDK that matches your platform: React, React Native, or Browser SDK.
  • Import react-native-get-random-values as the very first import for React Native.
  • Use autoConnect carefully and implement retry/timeouts for extension discovery.

Example use cases

  • React dApp that authenticates users with Google and signs Solana transactions.
  • Expo mobile app that opens embedded Phantom wallet via deep link for payments.
  • Single-page app that checks token ownership to enable gated content.
  • NFT mint page that prompts wallet connect and uses signed transactions.
  • Backend workflow that verifies signed messages for user identity on Solana.

FAQ

An appId is required for embedded auth providers like Google and Apple; the injected extension can be used without an appId.

What networks are supported?

Phantom Connect targets Solana networks: mainnet-beta, devnet, and testnet.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
skill skill by th3ya0vi/phantom-connect-skill | VeilStrat