Skip to content

Instantly share code, notes, and snippets.

@xiaoping378
Created August 4, 2017 08:17
Show Gist options
  • Save xiaoping378/a599e3bb3080135b2548c1242ca8cc80 to your computer and use it in GitHub Desktop.
Save xiaoping378/a599e3bb3080135b2548c1242ca8cc80 to your computer and use it in GitHub Desktop.
{
"network-config": {
"orderer": {
"url": "grpcs://192.168.10.110:7050",
"server-hostname": "orderer.example.com",
"tls_cacerts": "../artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt"
},
"org1": {
"name": "peerOrg1",
"mspid": "Org1MSP",
"ca": "https://192.168.10.78:7054",
"peer1": {
"requests": "grpcs://192.168.10.114:7051",
"events": "grpcs://192.168.10.114:7053",
"server-hostname": "peer0.org1.example.com",
"tls_cacerts": "../artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"
},
"peer2": {
"requests": "grpcs://192.168.10.114:7056",
"events": "grpcs://192.168.10.114:7058",
"server-hostname": "peer1.org1.example.com",
"tls_cacerts": "../artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt"
},
"admin": {
"key": "../artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore",
"cert": "../artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts"
}
},
"org2": {
"name": "peerOrg2",
"mspid": "Org2MSP",
"ca": "https://192.168.10.78:8054",
"peer1": {
"requests": "grpcs://192.168.10.115:8051",
"events": "grpcs://192.168.10.115:8053",
"server-hostname": "peer0.org2.example.com",
"tls_cacerts": "../artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt"
},
"peer2": {
"requests": "grpcs://192.168.10.115:8056",
"events": "grpcs://192.168.10.115:8058",
"server-hostname": "peer1.org2.example.com",
"tls_cacerts": "../artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt"
},
"admin": {
"key": "../artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore",
"cert": "../artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment