phantom

Build frontend Solana applications with Phantom Connect SDK and Helius infrastructure.

1|Updated Aug 5, 2026
One-click install
npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill phantom-solizardking
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: phantom
Source: https://github.com/Solizardking/Solana-Robotics-Kit/tree/main/eliza/plugins/clawd-code/clawd-plugin/skills/phantom
Command: npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill phantom-solizardking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @phantom/react-sdk, @phantom/browser-sdk, @phantom/react-native-sdk, @solana/kit, @solana-program/system, @solana-program/compute-budget, helius-sdk, and includes references (resource) components.

What problem does it solve? Building Solana frontend apps requires coordinating wallet connection, transaction signing, secure API key handling, and reliable transaction submission, and mistakes like exposing API keys in the browser or using legacy wallet providers cause security and reliability failures. ## Core Features & Use Cases - Wallet Connection: Integrate Phantom Connect via @phantom/react-sdk, @phantom/browser-sdk, or @phantom/react-native-sdk, including social login (Google/Apple) and extension detection. - Transaction Signing & Submission: Sign transactions with Phantom and submit through Helius Sender with priority fee estimates, Jito tips, and compute unit optimization. - On-Chain Data & Security: Query assets via Helius DAS, parse transaction history, stream real-time updates through server relays, and proxy API keys through a backend. - Use Case: Build a token-gated NFT gallery where users connect Phantom, sign a message to prove ownership, and a backend verifies holdings via Helius DAS before rendering content. ## Quick Start Ask the assistant to build a React app that connects a Phantom wallet and displays the connected wallet's token balances using Helius.

Frequently Asked Questions about phantom

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect a Phantom wallet in a React app?▼

Use @phantom/react-sdk with hooks like usePhantom, useConnect, and useModal to add a Connect Wallet button. It supports extension login and social login via Google or Apple, and works natively with @solana/kit types.

How do I submit a signed Solana transaction with better landing rates?▼

Sign the transaction with Phantom's signTransaction, then POST it to the Helius Sender endpoint at https://sender.helius-rpc.com/fast with skipPreflight true. Include a Jito tip of at least 0.0002 SOL and a priority fee from getPriorityFeeEstimate.

Can I use window.phantom.solana with @solana/kit?▼

No, the legacy window.phantom.solana injected provider requires @solana/web3.js v1 types and does not work with @solana/kit. Use the Phantom Connect SDK (@phantom/react-sdk or @phantom/browser-sdk), which handles @solana/kit types natively.

Is it safe to call the Helius API directly from the browser?▼

Only Helius Sender is browser-safe without an API key. RPC, DAS, Wallet API, and WebSockets all expose your API key in the URL or bundle, so proxy them through a backend with rate limiting and relay WebSocket data via SSE.

Why does Phantom Google or Apple login fail in my app?▼

OAuth providers require an App ID from Phantom Portal at phantom.com/portal, and the exact redirect URL must be allowlisted in Portal settings. Extension-only flows using the injected provider do not need Portal setup.

How do I check if a wallet owns a specific NFT or token for gating?▼

Use Helius DAS searchAssets with the owner address and collection grouping, or check token_info.balance for fungible thresholds. For valuable content, verify ownership on the server since client-side checks can be bypassed.