Created
June 11, 2024 22:15
-
-
Save cradonn/601fad86a8fb35cb64bbf4708e14720a to your computer and use it in GitHub Desktop.
Blockchain Explorer - Configuration
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
{ | |
"name": "test-network", | |
"version": "1.0.0", | |
"client": { | |
"tlsEnable": true, | |
"adminCredential": { | |
"id": "exploreradmin", | |
"password": "exploreradminpw" | |
}, | |
"enableAuthentication": true, | |
"organization": "Org1MSP", | |
"connection": { | |
"timeout": { | |
"peer": { | |
"endorser": "300" | |
}, | |
"orderer": "300" | |
} | |
} | |
}, | |
"channels": { | |
"mychannel": { | |
"peers": { | |
"peer0.org1.example.com": {} | |
} | |
} | |
}, | |
"organizations": { | |
"Org1MSP": { | |
"mspid": "Org1MSP", | |
"adminPrivateKey": { | |
"path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/priv_sk" | |
}, | |
"peers": ["peer0.org1.example.com"], | |
"signedCert": { | |
"path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" | |
} | |
} | |
}, | |
"peers": { | |
"peer0.org1.example.com": { | |
"tlsCACerts": { | |
"path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" | |
}, | |
"url": "grpcs://peer0.org1.example.com:7051" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All paths in
test-network.json
should be configured to/tmp/crypto/..
as mapped indocker-compose.yaml
.The "Make sure you replace all paths" comment in the Quick start (using Docker) is slightly misleading. 🫤