helius-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 helius-phantom-solizardking
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: helius-phantom
Source: https://github.com/Solizardking/Solana-Robotics-Kit/tree/main/eliza/packages/skills/skills/helius-phantom
Command: npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill helius-phantom-solizardking

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Building Solana dApps requires correctly wiring wallet connection, transaction signing, secure API key handling, and reliable transaction submission across React, React Native, and browser environments, which is error-prone without guidance. ## Core Features & Use Cases - Wallet Connection: Integrate Phantom Connect via @phantom/react-sdk, @phantom/browser-sdk, or @phantom/react-native-sdk with social login (Google/Apple) and extension support. - Transaction Flows: Sign with Phantom and submit through Helius Sender with priority fee optimization and Jito tips for better landing rates. - Secure Architecture: Proxy Helius API calls through a backend, relay WebSockets via SSE, and keep API keys server-side. - Use Case: Build a token-gated NFT mint page where Phantom signs the transaction, Helius Sender submits it, and the backend verifies ownership via the DAS API. ## Quick Start Ask the assistant to build a React app that connects a Phantom wallet and displays the wallet's token balances using Helius.

Frequently Asked Questions about helius-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 the PhantomProvider and the useModal hook's open() function to trigger the connection flow. It supports extension wallets 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 and a Jito tip instruction. Use getPriorityFeeEstimate for fee levels instead of hardcoding.

Can I 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, so proxy them through a backend with rate limiting and relay WebSocket data via SSE.

Does Phantom Connect SDK work with React Native and Expo?▼

Yes, use @phantom/react-native-sdk with a PhantomProvider configured with a custom URL scheme for the OAuth redirect flow. Import react-native-get-random-values as the very first import or the app crashes on startup.

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

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

Should I use window.phantom.solana or the Phantom Connect SDK?▼

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