Skip to content

Instantly share code, notes, and snippets.

@Nexengineer
Last active June 20, 2018 09:10
Show Gist options
  • Save Nexengineer/300d141e19ddb070cca675a10f3f4f1c to your computer and use it in GitHub Desktop.
Save Nexengineer/300d141e19ddb070cca675a10f3f4f1c to your computer and use it in GitHub Desktop.
Hyperledger Composer + Hyperledger Explorer Config file
{
"network-config": {
"org1": {
"name": "Org1",
"mspid": "Org1MSP",
"peer1": {
"requests": "grpc://localhost:7051",
"events": "grpc://localhost:7053",
"server-hostname": "peer0.org1.example.com"
},
"admin": {
"key": "/home/azureuser/fabric-tools/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",
"cert": "/home/azureuser/fabric-tools/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts"
}
}
},
"channel": "composerchannel",
"orderers": [
{
"mspid": "OrdererMSP",
"server-hostname": "orderer.example.com",
"requests": "grpc://127.0.0.1:7050",
"tls_cacerts": "/home/azureuser/fabric-tools/fabric-scripts/hlfv11/composer/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt"
}
],
"pg": {
"host": "127.0.0.1",
"port": "5432",
"database": "fabricexplorer",
"username": "hppoc",
"passwd": "password"
},
"keyValueStore": "/tmp/fabric-client-kvs",
"configtxgenToolPath": "fabric-path/fabric-samples/bin",
"eventWaitTime": "30000",
"license": "Apache-2.0",
"version": "1.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment