This page contains example bash commands and scripts to generate the interoperability artefacts for joining and updating a channel.
Create common.ConfigGroup for Join Request
Based on the configtx.yaml and the msp directories, the ConfigGroup can be created using the configtxgen printOrg function.
Create configtx.yaml:
configtx.yaml--- Organizations: - &Org1 Name: ExampleOrg ID: ExampleOrg MSPDir: crypto-config/peerOrganizations/example-org.com/msp Policies: &Org1Policies Readers: Type: Signature Rule: "OR('ExampleOrg.member')" Writers: Type: Signature Rule: "OR('ExampleOrg.member')" Admins: Type: Signature Rule: "OR('ExampleOrg.admin')" AnchorPeers: - Host: peer0.example-org.com Port: 7051
- Create the ConfigGroup JSON using the using the configtxgen printOrg function:
configtxgen -printOrg ExampleOrg > configGroup.json
Send the configGroup.json to one of the channel members.