Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

chainstacklabs/hlf-config-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperledger Fabric Channel Config Inspector

This tool gives you a simple visual UI to inspect a Hyperledger Fabric channel config.

alt

Architecture

Server

The server is a simple wrapper around Fabric tooling:

  • discovery to find suitable nodes
  • peer to run command and interact with the ledger
  • configtxlator to parse the config protobuf

Client

The client a VueJS app, which uses local storage to keep connection profile and identity.

Usage

Simply build and run the docker image:

docker build -t hlf-config-inspector .
docker run --rm -t -p 4000:4000 hlf-config-inspector

Then go to http://localhost:4000 and provide a connection profile, as well as an identity.

The MSP ID of the identity must match one of the organization in the connection profile.

The app will use these info to get the channel you can access and load it.

Security

The identity certificates are stored locally in the browser, but are also send to the server over the network (in plaintext). Therefore, you should always run this app locally, or add the necessary tools to secure the connection to the server if needed.