Last active
October 30, 2018 05:45
-
-
Save hi5san/fa3aaaa4b0f85dbedcf23dcdb1569109 to your computer and use it in GitHub Desktop.
Hyperledger Explorer config example for Hyperledger Fabric BYFN(first-network) sample (assumes ~/fabric/fabric-samples) (original: https://github.com/hyperledger/blockchain-explorer/blob/release-3.8/app/platform/fabric/config.json)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"network-configs": { | |
"network-1": { | |
"version": "1.0", | |
"clients": { | |
"client-1": { | |
"tlsEnable": true, | |
"organization": "Org1MSP", | |
"channel": "mychannel", | |
"credentialStore": { | |
"path": "./tmp/credentialStore_Org1/credential", | |
"cryptoStore": { | |
"path": "./tmp/credentialStore_Org1/crypto" | |
} | |
} | |
} | |
}, | |
"channels": { | |
"mychannel": { | |
"peers": { | |
"peer0.org1.example.com": {} | |
}, | |
"connection": { | |
"timeout": { | |
"peer": { | |
"endorser": "6000", | |
"eventHub": "6000", | |
"eventReg": "6000" | |
} | |
} | |
} | |
} | |
}, | |
"organizations": { | |
"Org1MSP": { | |
"mspid": "Org1MSP", | |
"fullpath": false, | |
"adminPrivateKey": { | |
"path": | |
"/home/vagrant/fabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" | |
}, | |
"signedCert": { | |
"path": | |
"/home/vagrant/fabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" | |
} | |
}, | |
"Org2MSP": { | |
"mspid": "Org2MSP", | |
"adminPrivateKey": { | |
"path": | |
"/home/vagrant/fabric/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" | |
} | |
}, | |
"OrdererMSP": { | |
"mspid": "OrdererMSP", | |
"adminPrivateKey": { | |
"path": | |
"/home/vagrant/fabric/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" | |
} | |
} | |
}, | |
"peers": { | |
"peer0.org1.example.com": { | |
"tlsCACerts": { | |
"path": | |
"/home/vagrant/fabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" | |
}, | |
"url": "grpcs://localhost:7051", | |
"eventUrl": "grpcs://localhost:7053", | |
"grpcOptions": { | |
"ssl-target-name-override": "peer0.org1.example.com" | |
} | |
}, | |
"peer1.org1.example.com": { | |
"url": "grpcs://localhost:8051" | |
}, | |
"peer0.org2.example.com": { | |
"url": "grpcs://localhost:9051" | |
}, | |
"peer1.org2.example.com": { | |
"url": "grpcs://localhost:10051" | |
} | |
}, | |
"orderers": { | |
"orderer.example.com": { | |
"url": "grpcs://localhost:7050" | |
} | |
} | |
}, | |
"network-2": {} | |
}, | |
"configtxgenToolPath": "/home/vagrant/fabric/fabric-samples/bin", | |
"license": "Apache-2.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment