mwa-connection

Connect and disconnect wallets in React Native apps using the useMobileWallet hook.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

React Native apps need reliable wallet connection management via Mobile Wallet Adapter, including connect/disconnect flows and displaying the active address.

Core Features & Use Cases

  • Connect and disconnect a wallet with a single tap to establish and terminate sessions.
  • Display the connected wallet address and state to users for quick verification.
  • Handle missing or misconfigured MWA setup gracefully and guide integration with the mwa-setup skill.

Quick Start

Connect a wallet button to the MWA using the useMobileWallet hook and render the current address.

Frequently Asked Questions about mwa-connection

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

FAQPage Schema
How do I add a Solana wallet connect button in React Native?

To add a Solana wallet connect button in React Native, use the useMobileWallet hook provided by this Skill to facilitate wallet connect workflows via Mobile Wallet Adapter and render the active address.

How do I manage Solana wallet state across multiple screens in React Native?

Manage Solana wallet state across screens by exposing account, connect, and disconnect functions through the useMobileWallet hook, ensuring the active wallet address remains accessible during navigation.

What do I need to configure before connecting a Solana wallet in React Native?

Before connecting a Solana wallet, you must complete MWA setup including polyfills and provider configuration; if missing, this Skill guides integration with the mwa-setup skill to handle misconfigurations gracefully.

Does this Skill handle wallet disconnect workflows in React Native?

Yes, this Skill handles wallet disconnect workflows in React Native by exposing a disconnect function via the useMobileWallet hook to terminate active Mobile Wallet Adapter sessions with a single tap.

Why is my Mobile Wallet Adapter not working in my React Native app?

Your Mobile Wallet Adapter may not work due to missing or misconfigured MWA setup; this Skill identifies missing polyfills and provider configuration, guiding you to integrate the mwa-setup skill for resolution.