phantom/phantom-agent-kit/setup-react-native-app
Claude Code and agent skill by phantom/phantom-agent-kit
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Scaffold a React Native (Expo) app with Phantom React Native SDK for mobile wallet integration, including polyfills and deep linking
Install
npx vskill@latest install phantom/phantom-agent-kit/setup-react-native-appSKILL.md
Scaffold React Native App with Phantom Connect
When to use
- User asks to set up a React Native app with Phantom Connect
- User wants to create a mobile wallet integration
- User wants to scaffold a Phantom integration for iOS/Android
Workflow
Step 1: Install Dependencies
Step 2: Add the Polyfill (CRITICAL — Must Be First Import)
In your app's entry file (e.g. App.tsx or index.ts), add this as the very first import:
This is non-negotiable. The polyfill must execute before any other code that uses crypto.
Step 3: Configure app.json
Add the custom URL scheme and required plugins:
Step 4: Wrap App in PhantomProvider
Mobile-specific config fields:
scheme— Your app's custom URL scheme, must matchapp.json.redirectUrl— Deep link URL using your custom scheme for OAuth callbacks.
Step 5: Use Hooks (Same as React SDK)
The hooks API is identical to @phantom/react-sdk:
Important Notes
react-native-get-random-valuesMUST be the very first import in your entry file.- Always use
signAndSendTransaction—signTransactionis NOT supported for embedded wallets. - The
schemeinPhantomProviderconfig must match theschemeinapp.json. - Register your app at Phantom Portal to get an
appId. - Test deep linking on a physical device or Expo Dev Client — deep links do not work in Expo Go.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/setup-react-native-app/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/phantom/phantom-agent-kit/setup-react-native-app)