mwa-setup

Set up Mobile Wallet Adapter dependencies, crypto polyfills, and provider wiring for Expo apps.

6|5|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/solana-mobile/solana-mobile-dev-skill --skill mwa-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mwa-setup
Source: https://github.com/solana-mobile/solana-mobile-dev-skill/tree/main/mwa/mwa-setup
Command: npx skills add https://github.com/solana-mobile/solana-mobile-dev-skill --skill mwa-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Streamlines the initial setup of Mobile Wallet Adapter in React Native Expo projects, including dependency installation, crypto polyfill configuration, and provider wiring.

Core Features & Use Cases

  • Install and configure Mobile Wallet Adapter packages, crypto polyfills, and provider setup for Expo apps.
  • Prepare the app for wallet integration, with guidance on environment variables and Android development builds.
  • Troubleshoot common setup issues to ensure a stable wallet connection workflow.

Quick Start

Install the MWA dependencies, configure the crypto polyfill as the first import, and wrap your app with MobileWalletProvider to enable wallet integration.

Frequently Asked Questions about mwa-setup

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

FAQPage Schema
How do I set up Solana Mobile Wallet Adapter in a React Native Expo app?

To set up Mobile Wallet Adapter in React Native Expo, install the required packages, configure the crypto polyfill as the first import, and wrap your app with MobileWalletProvider to enable wallet integration.

Can I use Solana Mobile Wallet Adapter with Expo Go?

No, Mobile Wallet Adapter requires an Android development build, not Expo Go. You must prepare a custom development build to enable a stable wallet connection workflow in your React Native app.

What crypto polyfills do I need for Solana wallet integration in React Native?

You need the react-native-get-random-values crypto polyfill for Solana wallet integration. Import it as the very first import in your app before using @solana/web3.js and @wallet-ui/react-native-web3js.

How do I wire the MobileWalletProvider for a React Native Solana app?

To wire the MobileWalletProvider, wrap your application's root component with it after installing @wallet-ui/react-native-web3js, @solana/web3.js, and @tanstack/react-query to enable wallet connection.

Why is my Solana Mobile Wallet Adapter setup not working in Expo?

Common setup issues include using Expo Go instead of a development build, missing crypto polyfills, or incorrect provider wiring. Troubleshoot by ensuring dependencies are installed and the polyfill is the first import.