我如何将Hyperledger Explorere连接到结构的余额转移示例

时间:2019-06-11 23:59:53

标签: hyperledger-fabric blockchain hyperledger explorer

我想连接超级账本资源管理器以平衡转移示例。但是网络信息未显示在资源管理器的UI上

我已经为资源管理器更新了配置文件和连接配置文件

这是我的配置文件

    { "balance-transfer":
         { "name": "balancetransfer",
             "profile": "./connection-profile/balance-transfer.json" 
          }
    },
 "license": "Apache-2.0" 
}

这是我的balance-transfer.json文件

{
    "name": "balance-transfer-network",
    "version": "1.0.0",
    "license": "Apache-2.0",
    "client": {
        "tlsEnable": true,
        "adminUser": "admin",
        "adminPassword": "adminpw",
        "enableAuthentication": false,
        "organization": "Org1",
        "connection": {
            "timeout": {
                "peer": {
                    "endorser": "300"
                },
                "orderer": "300"
            }
        }
    },
    "channels": {
        "mychannel": {
            "orderers": ["orderer.example.com"],
            "peers": {
                "peer0.org1.example.com": {
                    "ledgerQuery": true
                }
            }
        }
    },
    "organizations": {
        "Org1": {
            "mspid": "Org1MSP",
            "peers": ["peer0.org1.example.com", "peer1.org1.example.com"],
            "certificateAuthorities": ["ca-org1"],
            "adminPrivateKey": {
                "path": "/home/anju/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8_sk"
            },
            "signedCert": {
                "path": "/home/anju/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem"
            }
        }
    },

    "peers": {
        "peer0.org1.example.com": {
            "url": "grpcs://localhost:7051",
            "grpcOptions": {
                "ssl-target-name-override": "peer0.org1.example.com"
            },
            "tlsCACerts": {
                "path": "/home/anju/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
            }
        }
    },
    "certificateAuthorities": {
        "ca-org1": {
            "url": "https://localhost:7054",
            "httpOptions": {
                "verify": false
            },
            "tlsCACerts": {
                "path": "/home/anju/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem"
            },

            "caName": "ca-org1"
        }
    }
}

我希望数据应该显示在Hyperledger Explorer的UI中。

现在资源管理器用户界面为空。

0 个答案:

没有答案