Skip to content

anfegu/payments

 
 

Repository files navigation

Example React Native dApp

This demonstrates how you can use the mobile wallet adapter protocol in a React Native app.

example-react-native-app.mp4

Features

  • Authorize the web app for use with a native mobile wallet app.
  • Record a message of your choosing on-chain, using the Memo program.
  • Sign a message of your choosing.
  • Request an airdrop of SOL on devnet.

Prerequisites

  1. Set up the Android development environment by following the environment setup instructions for your OS.
  2. Install at least one mobile wallet adapter compliant wallet app on your device/simulator. You can build and install fakewallet for testing purposes.

Quick Start

Android

  1. Install dependencies and build the client libraries locally with yarn.
  2. Start the React Native packager, build the application, and start the simulator with yarn android.

Development

After making changes to any of the client libraries in js/packages/ you will need to re-run yarn in this directory. This will rebuild the client libraries and copy their build artifacts into the node_modules/ folder of this example app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.9%
  • Java 8.0%
  • Kotlin 5.0%
  • C++ 3.7%
  • JavaScript 2.5%
  • Objective-C++ 2.3%
  • Other 2.6%