This guide provides the minimal necessary steps to compile and run the COIN.CZ Wallet application on Android.
- Flutter SDK installed
- Dart available in your PATH
- Android SDK & emulator or a physical device connected
makeinstalled (for running dependency commands)- Also change Flutter path in the
MakeFilewith the local installed required flutter version path.
First, create a .env file to store the necessary environment variables.
You can do this by copying the example file:
cp .env.example .envThe project relies on native Rust libraries (boltz_rust) that must be compiled locally.
To install Rust and Cargo, run the following command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shThe project relies on native libraries that are not included in the repository.
Fetch them by running the following commands from the project root:
make get-gdk && make get-boltz-rust && make generate-bindingsThe project uses code generation to create necessary files.
Run the following command to generate them:
/path/to/your/flutter pub run build_runner build --delete-conflicting-outputs💡 Replace
/path/to/your/flutterwith the path to your Flutter binary if not already in your PATH.
After completing the above steps, you can run the application on Android:
flutter run- Make sure your emulator or physical device is running before executing
flutter run. - If you run into build issues, try cleaning the project:
flutter clean✨ You’re now ready to use COIN.CZ Wallet on Android!