/fabex

Block explorer for Hyperledger Fabric

Primary LanguageGoApache License 2.0Apache-2.0

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