start-solana-app
v1.0.9
Published
[USE WITH NPX ONLY: 'npx start-solana-app'] CLI to bootstrap a Solana mobile app with React Native and Expo
Readme
Start Solana App
A CLI tool to bootstrap a Solana mobile application using React Native and Expo.
Features
- React Native with Expo
- Solana Web3.js integration
- Wallet integration
- Token Mill functionality
- Pre-configured navigation
- TypeScript support
Usage
Create a new Solana app with npx:
npx start-solana-app my-solana-appNote: This package is designed to be used with
npxand should not be installed globally.
Options
[project-directory]- Directory to create the app in (default: prompted)-y, --yes- Skip all prompts and use defaults-h, --help- Display help information-v, --version- Display version number
After Installation
Once your app is created, follow these steps:
Navigate to your project directory:
cd my-solana-appBuild and install the app:
# For iOS npx expo run:ios # For Android (make sure Android Studio simulator is running first) npx expo run:androidStart in development mode:
# Quick dev mode for experimentation without setting up all environment variables pnpm start --clear --dev # Fast development with hot reloading - uses your existing build so no reinstallation needed pnpm start --clear
Documentation
For more information about the Solana App Kit, refer to the main repository.
License
MIT
