build-mobile

Guides developers through building Solana mobile apps with React Native or native Android.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/RavitejaKarra24/dotfiles --skill build-mobile-ravitejakarra24
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-mobile
Source: https://github.com/RavitejaKarra24/dotfiles/tree/main/agents/.agents/skills/build-mobile
Command: npx skills add https://github.com/RavitejaKarra24/dotfiles --skill build-mobile-ravitejakarra24

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building a Solana mobile app involves unfamiliar territory: Mobile Wallet Adapter integration, crypto polyfills, custom Expo development builds, deep linking, and mobile-specific edge cases like network drops and app backgrounding during signing. This Skill walks a developer through the entire build phase with current Solana Mobile patterns. ## Core Features & Use Cases - Guided Mobile Build Workflow: Scaffolds from current Solana Mobile templates, integrates wallet connection (MWA, Phantom deep links, or embedded wallets), and implements the first transaction flow. - Wallet & Architecture References: Ships reference docs covering MWA authorization, Kit-based vs web3.js transaction patterns, polyfill setup, and signing UX best practices like timeouts and preflight checks. - Phase Handoff Context: Reads and writes .superstack/build-context.md so stack decisions (platform, wallet method, scaffold repo) persist across the Idea → Build → Launch journey. - Use Case: A developer says "build a mobile Solana dApp" and gets step-by-step guidance: scaffold with create-solana-dapp, set up react-native-quick-crypto polyfills, connect a wallet via MWA, sign a transaction, and verify on a physical device. ## Quick Start Ask the assistant to help you build a Solana mobile app with React Native and Mobile Wallet Adapter wallet connection.

Frequently Asked Questions about build-mobile

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

FAQPage Schema
How do I build a Solana mobile app with React Native?

Start with `npm create solana-dapp@latest` and choose a Solana Mobile React Native template. Add `react-native-quick-crypto` polyfills imported before any Solana libraries, then build a custom Expo development build with `npx expo run:android` since Expo Go does not support MWA.

What is Mobile Wallet Adapter and how do I use it?

Mobile Wallet Adapter (MWA) is the standard protocol for Solana mobile dApp-to-wallet communication, working with Phantom, Solflare, and other compatible wallets. Your app calls `transact()`, which opens the wallet app for user authorization and returns the signed transaction.

Should I use @solana/kit or @solana/web3.js for a React Native Solana app?

Kit is the preferred direction for new apps, following samples like skr-staking with `@wallet-ui/react-native-kit`. Web3.js remains a compatibility path where official docs or your chosen template still require it, but avoid mixing both stacks in one app.

Can I test Solana mobile wallet flows on an emulator?

Yes, use any Android device or emulator with the Mock MWA Wallet during development. However, final end-to-end verification must run on a physical device with a real wallet installed before calling the flow production-ready.

Why does wallet signing hang or time out on mobile?

MWA can hang if the user backgrounds the app or does not respond to the wallet prompt. Wrap signing calls in a timeout (around 120 seconds), listen to AppState changes to detect backgrounding, and show user-friendly error messages for rejections and expired blockhashes.

When should I use Phantom deep links instead of MWA?

Phantom deep links suit simple single-transaction connect-and-sign flows without a full SDK. They are less reliable, Phantom-only, and lack batch signing, so MWA is recommended for production apps.