# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file accompanying this file. This file is distributed # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either # express or implied. See the License for the specific language governing # permissions and limitations under the License. name: "ngo" x-type: "hlfv1" description: "NGO Donation and Spend Tracking Network" version: "1.0" channels: mychannel: orderers: - orderer.example.com peers: peer0.org1.example.com: endorsingPeer: true chaincodeQuery: true ledgerQuery: true eventSource: true peer1.org1.example.com: endorsingPeer: false chaincodeQuery: true ledgerQuery: true eventSource: false peer0.org2.example.com: endorsingPeer: true chaincodeQuery: true ledgerQuery: true eventSource: true peer1.org2.example.com: endorsingPeer: false chaincodeQuery: true ledgerQuery: true eventSource: false organizations: Org1: mspid: Org1MSP peers: - peer0.org1.example.com - peer1.org1.example.com certificateAuthorities: - ca-org1 Org2: mspid: Org2MSP peers: - peer0.org2.example.com - peer1.org2.example.com certificateAuthorities: - ca-org2 orderers: orderer.example.com: url: grpcs://localhost:7050 grpcOptions: ssl-target-name-override: orderer.example.com tlsCACerts: path: %REPODIR%/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt peers: peer0.org1.example.com: url: grpcs://localhost:7051 grpcOptions: ssl-target-name-override: peer0.org1.example.com tlsCACerts: path: %REPODIR%/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt peer1.org1.example.com: url: grpcs://localhost:8051 grpcOptions: ssl-target-name-override: peer1.org1.example.com tlsCACerts: path: %REPODIR%/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt peer0.org2.example.com: url: grpcs://localhost:9051 grpcOptions: ssl-target-name-override: peer0.org2.example.com tlsCACerts: path: %REPODIR%/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt peer1.org2.example.com: url: grpcs://localhost:10051 eventUrl: grpcs://localhost:10053 grpcOptions: ssl-target-name-override: peer1.org2.example.com tlsCACerts: path: %REPODIR%/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt certificateAuthorities: ca-org1: url: https://localhost:7054 httpOptions: verify: false tlsCACerts: path: %REPODIR%/first-network/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem registrar: - enrollId: admin enrollSecret: adminpw caName: ca-org1 ca-org2: url: https://localhost:8054 httpOptions: verify: false tlsCACerts: path: %REPODIR%/first-network/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem registrar: - enrollId: admin enrollSecret: adminpw caName: ca-org2