mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Fabcar sample demonstrating the use of the new Gateway package in the Go SDK Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
49 lines
1.2 KiB
JSON
Executable file
49 lines
1.2 KiB
JSON
Executable file
{
|
|
"name": "test-network-org${ORG}",
|
|
"version": "1.0.0",
|
|
"client": {
|
|
"organization": "Org${ORG}",
|
|
"connection": {
|
|
"timeout": {
|
|
"peer": {
|
|
"endorser": "300"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"organizations": {
|
|
"Org${ORG}": {
|
|
"mspid": "Org${ORG}MSP",
|
|
"peers": [
|
|
"peer0.org${ORG}.example.com"
|
|
],
|
|
"certificateAuthorities": [
|
|
"ca.org${ORG}.example.com"
|
|
]
|
|
}
|
|
},
|
|
"peers": {
|
|
"peer0.org${ORG}.example.com": {
|
|
"url": "grpcs://localhost:${P0PORT}",
|
|
"tlsCACerts": {
|
|
"pem": "${PEERPEM}"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer0.org${ORG}.example.com",
|
|
"hostnameOverride": "peer0.org${ORG}.example.com"
|
|
}
|
|
}
|
|
},
|
|
"certificateAuthorities": {
|
|
"ca.org${ORG}.example.com": {
|
|
"url": "https://localhost:${CAPORT}",
|
|
"caName": "ca-org${ORG}",
|
|
"tlsCACerts": {
|
|
"pem": ["${CAPEM}"]
|
|
},
|
|
"httpOptions": {
|
|
"verify": false
|
|
}
|
|
}
|
|
}
|
|
}
|