Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

hyperledger-labs/fabex

Repository files navigation

Block explorer for Hyperledger Fabric


Reference

Tutorial

Prerequisites

Start fabex service

UI

Testing


FabEx is inspired by ledgerfsck

the tutorial is available at this link.

  1. Configure config.yaml (it's main config of the Fabex) and connection-profile.yaml (Hyperledger Fabric connection profile)

  2. Install and start database (MongoDB)

    1. set initial user name and password in db/mongo-compose/docker-compose.yaml
    2. start container:
    make mongo
    
  3. (OPTIONAL) Start your Fabric blockchain network or sample test network with

    make fabric-test
    



You can start Fabex as standalone microservice with Mongo blocks storage:

CONFIG=config/config.yaml DB=mongo ./fabex

Use fabex.proto as service contract.

Example of GRPC client implementation.



UI is available on port 5252

UI



unit tests: make unit-tests

integration tests: make integration-tests