This app demonstrates how to use the Phantom React Native SDK to create a wallet and sign transactions.
-
Install dependencies
npm install
-
Start the app iOS or Android
npm run start:ios
npm run start:android
These commands will build a custom expo development client for iOS and Android. Due to native dependencies and the use of Deep Linking in the SDK, you cannot use the SDK with Expo Go.
This project uses the polyfills for the following modules:
buffer
crypto
stream
Check out the following files to see how the polyfills are configured: