This project is a Flutter application that displays Bitcoin transaction details. It uses the Blockchain API to fetch the latest block and transaction details.
- Fetch and display the latest Bitcoin block details.
- Fetch and display Bitcoin transaction details.
- View transaction details on a blockchain explorer.
https://www.loom.com/share/b8df837cfd544406993c07059edeecf3?sid=c98a1df6-0c70-45a7-af82-5dbd8c6a9ed4
- Flutter SDK: Install Flutter
- Dart SDK: Included with Flutter
- Android Studio: Install Android Studio
- Clone the repository:
git clone https://github.com/donkizzytezos_assessment.gitcd tezos_assessment- Install dependencies:
- flutter pub get
- Run the application:
- flutter run
### Install dependencies:
```sh
flutter pub getflutter runTo run the unit tests and check test coverage:
flutter test --coveragegenhtml coverage/lcov.info -o coverage/htmlopen coverage/html/index.htmllib/: Contains the main source code for the application.app/: Contains the application-specific code.data/: Contains data models, repositories, and BLoC/Cubit classes.presentation/: Contains UI components and pages.
core/: Contains core utilities and constants.
flutter_bloc: State management using BLoC pattern.equatable: Simplifies equality comparisons.flutter_svg: SVG rendering for Flutter.url_launcher: Launch URLs in the default browser.mockito: Mocking library for unit tests.bloc_test: Testing utilities for BLoC.
This project is licensed under the MIT License. See the LICENSE file for details.