@hyperledger/cactus-plugin-ledger-connector-fabric
Version:
Allows Cactus nodes to connect to a Fabric ledger.
50 lines (49 loc) • 1.24 kB
JSON
{
"name": "test-network-${ORG}",
"version": "1.0.0",
"client": {
"organization": "${ORG}",
"connection": {
"timeout": {
"peer": {
"endorser": "300"
}
}
}
},
"organizations": {
"${ORG}": {
"mspid": "${ORG}MSP",
"peers": [
"peer0.${ORG}.example.com"
],
"certificateAuthorities": [
"ca.${ORG}.example.com"
]
}
},
"peers": {
"peer0.${ORG}.example.com": {
"url": "grpcs://localhost:${P0PORT}",
"tlsCACerts": {
"pem": "${PEERPEM}"
},
"grpcOptions": {
"ssl-target-name-override": "peer0.${ORG}.example.com",
"hostnameOverride": "peer0.${ORG}.example.com"
}
}
},
"certificateAuthorities": {
"ca.${ORG}.example.com": {
"url": "https://localhost:${CAPORT}",
"caName": "ca-${ORG}",
"tlsCACerts": {
"pem": "${CAPEM}"
},
"httpOptions": {
"verify": false
}
}
}
}