fabex icon indicating copy to clipboard operation
fabex copied to clipboard

Block explorer for Hyperledger Fabric

Block explorer for Hyperledger Fabric


Reference

Tutorial

Prerequisites

Start fabex service

UI

Testing


FabEx is inspired by ledgerfsck

Tutorial

the tutorial is available at this link.

Prerequisites

  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
    



Start fabex service

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

UI is available on port 5252

UI



Testing

unit tests: make unit-tests

integration tests: make integration-tests