区块链浏览器
- 可以在浏览器上观察整个区块链上的块数、节点数、通道、链码,用于浏览底层区块链网络上的活动
- 安装方式有两种:
- docker
- 下载代码到本地
- 项目地址
配置
- 拉取
blockchain-explorer
配置文件到本地explorer-twonodes
文件夹下
wget https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/examples/net1/config.json
wget https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/examples/net1/connection-profile/test-network.json -P connection-profile
wget https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/docker-compose.yaml
- 复制
twonodes
网络中保存证书的文件夹crypto-config
到explorer-twonodes
文件夹下,文件夹改名为与官方一致organizations
- 由于
twonodes
网络中有两个组织,所以在connection-profi