A simple mobile application for Android, built with Flutter.
All relevant folders are in the lib
folder, where everything is organized into 4 folders.
This folder contains classes and objects used throughout the application. As of now, it only contains the Credentials
class, which handles the storage of users' private keys and block numbers.
This folder holds code for the UI of the application, and some basic application functionality.
The code in this folder lets the application connect and communicate with external applications and services. There are 3 services as of now:
auth.dart
- Authentication using PIN or biometricsblockchain.dart
- Sends and retrieves data from the blockchain serverhive.dart
- Handles the storage of data locally in the device
This folder is not as important, it contains widgets that are commonly used throughout the application.
Follow the instructions from here to install Flutter.
At the time of writing this, Flutter v3.3.0
was used:
$ flutter --version
Flutter 3.3.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ffccd96b62 (3 months ago) • 2022-08-29 17:28:57 -0700
Engine • revision 5e9e0e0aa8
Tools • Dart 2.18.0 • DevTools 2.15.0
After Flutter is installed, run flutter doctor
to make sure everything is good.
To run the app, ensure a device is running and use the following command:
flutter run
This should automatically install the required dependencies and run the app in the connected device.