{
  "name":"global-trade-network",
  "description":"The network to be in if you want to stay in the global trade business",
  "version":"1.0",
  "client":{
    "organization":"Org1",
    "credentialStore":{
      "path":"/tmp/hfc-kvs",
      "cryptoStore":{
        "path":"/tmp/hfc-cvs"
      },
      "wallet":"wallet-name"
    }
  },
  "channels":{
    "mychannel":{
      "orderers":[
        "orderer.example.com"
      ],
      "peers":{
        "peer0.org1.example.com":{
          "endorsingPeer":true,
          "chaincodeQuery":true,
          "ledgerQuery":true,
          "eventSource":true
        },
        "peer0.org2.example.com":{
          "endorsingPeer":true,
          "chaincodeQuery":false,
          "ledgerQuery":true,
          "eventSource":false
        }
      },
      "chaincodes":[
        "example02:v1",
        "marbles:1.0"
      ]
    }
  },
  "organizations":{
    "Org1":{
      "mspid":"Org1MSP",
      "peers":[
        "peer0.org1.example.com",
        "peer1.org1.example.com"
      ],
      "certificateAuthorities":[
        "ca-org1"
      ],
      "adminPrivateKeyPEM":"-----BEGIN PRIVATE KEY----- <etc>",
      "signedCertPEM":"-----BEGIN CERTIFICATE----- <etc>"
    },
    "Org2":{
      "mspid":"Org2MSP",
      "peers":[
        "peer0.org2.example.com"
      ]
    }
  },
  "orderers":{
    "orderer.example.com":{
      "url":"grpcs://localhost:7050",
      "grpcOptions":{
        "ssl-target-name-override":"orderer.example.com",
        "grpc-max-send-message-length":15
      },
      "tlsCACerts":{
        "path":"test/fixtures/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tlscacerts/example.com-cert.pem"
      }
    }
  },
  "peers":{
    "peer0.org1.example.com":{
      "url":"grpcs://localhost:7051",
      "eventUrl":"grpcs://localhost:7053",
      "grpcOptions":{
        "ssl-target-name-override":"peer0.org1.example.com",
        "grpc.http2.keepalive_time":15
      },
      "tlsCACerts":{
        "path":"test/fixtures/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tlscacerts/org1.example.com-cert.pem"
      }
    },
    "peer0.org2.example.com":{
      "url":"grpcs://localhost:8051",
      "eventUrl":"grpcs://localhost:8053",
      "grpcOptions":{
        "ssl-target-name-override":"peer0.org2.example.com"
      },
      "tlsCACerts":{
        "path":"test/fixtures/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tlscacerts/org2.example.com-cert.pem"
      }
    }
  },
  "certificateAuthorities":{
    "ca-org1":{
      "url":"https://localhost:7054",
      "grpcOptions":{
        "verify":true
      },
      "tlsCACerts":{
        "path":"test/fixtures/channel/crypto-config/peerOrganizations/org1.example.com/ca/org1.example.com-cert.pem"
      },
      "registrar":[
        {
          "enrollId":"admin",
          "enrollSecret":"adminpw"
        }
      ]
    }
  }
}
