https://github.com/chainstacklabs/hlf-config-inspector
https://github.com/chainstacklabs/hlf-config-inspector
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/chainstacklabs/hlf-config-inspector
- Owner: chainstacklabs
- License: mit
- Archived: true
- Created: 2020-09-29T15:54:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-30T10:47:16.000Z (over 2 years ago)
- Last Synced: 2025-02-19T19:22:47.730Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 913 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Hyperledger Fabric Channel Config Inspector
This tool gives you a simple visual UI to inspect a Hyperledger Fabric channel config.

## 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](https://hyperledger-fabric.readthedocs.io/en/release-2.2/developapps/connectionprofile.html#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.