This is a minimal Flutter starter app demonstrating the base functionality of the PrivySDK for authentication and user management.
- PrivySDK setup and initialization
- Basic email authentication flow
- Cross-platform support (iOS & Android)
- Wallet creation (Solana and Ethereum)
- Signing messages with the wallets
-
Clone the repo:
git clone https://github.com/privy-io/flutter-starter.git cd privy_flutter_starter
-
Set up your environment variables: This project uses a
.env
file to manage your Privy App ID and Client ID. Create a file named.env
in the root of theprivy_flutter_starter
directory and add your Privy credentials like this:PRIVY_APP_ID=YOUR_PRIVY_APP_ID PRIVY_CLIENT_ID=YOUR_PRIVY_CLIENT_ID
Replace
YOUR_PRIVY_APP_ID
andYOUR_PRIVY_CLIENT_ID
with your actual credentials from the Privy Dashboard. -
Run the app:
flutter run
-
Have fun building with Privy! 🎉