Skip to content

donkizzy/tezos_crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tezos Crypto

This project is a Flutter application that displays Bitcoin transaction details. It uses the Blockchain API to fetch the latest block and transaction details.

Features

  • Fetch and display the latest Bitcoin block details.
  • Fetch and display Bitcoin transaction details.
  • View transaction details on a blockchain explorer.

Demo Video

https://www.loom.com/share/b8df837cfd544406993c07059edeecf3?sid=c98a1df6-0c70-45a7-af82-5dbd8c6a9ed4

Getting Started

Prerequisites

Installation

  1. Clone the repository:
  2. git clone https://github.com/donkizzytezos_assessment.git
    cd tezos_assessment
    
  3. Install dependencies:
  4. flutter pub get
  5. Run the application:
  6. flutter run
### Install dependencies:
```sh
flutter pub get

Run the application:

flutter run

Running Tests

To run the unit tests and check test coverage:

Run tests with coverage:

flutter test --coverage

Generate a coverage report:

genhtml coverage/lcov.info -o coverage/html

View the coverage report:

open coverage/html/index.html

Project Structure

  • lib/: 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.

Dependencies

  • 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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages