fabex
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
-
Configure
config.yaml
(it's main config of the Fabex) andconnection-profile.yaml
(Hyperledger Fabric connection profile) -
Install and start database (MongoDB)
- set initial user name and password in
db/mongo-compose/docker-compose.yaml
- start container:
make mongo
- set initial user name and password in
-
(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
Testing
unit tests: make unit-tests
integration tests: make integration-tests