How to connect channels of different systems in Hyperledger Fabric?

0 votes
I have two channels, one on each system. I have a genesis block in one system. I connected the channel to genesis block of the same system by using commands listed in the documentation. I am not understanding how to connect the channel that is on another system. Please help
Nov 20, 2018 in Blockchain by digger
• 27,620 points
56 views

1 answer to this question.

0 votes

When you create a channel, you will have the genesis block. Now you have to make this genesis block join the channel and then from the other system run the following commands:

peer channel join -b mychannel.block

peer channel update -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/Org1MSPanchors.tx --tls --cafile tlsca.example.com-cert.pem

answered Nov 20, 2018 by Omkar
• 67,120 points

Related Questions In Blockchain

0 votes
1 answer

How to connect two instances of Hyperledger Fabric?

Before getting on with your question, let ...READ MORE

answered Jun 11, 2018 in Blockchain by Christine
• 15,790 points
49 views
0 votes
1 answer

How to control visibility of assets in Hyperledger Fabric?

you can use proof of Authority consensus ...READ MORE

answered Jul 10, 2018 in Blockchain by digger
• 27,620 points
83 views
0 votes
0 answers

how to add path of chain code in hyperledger fabric in startfabric.sh

#!/bin/bash # # Copyright IBM Corp All Rights Reserved # # ...READ MORE

Mar 17 in Blockchain by anonymous
102 views
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,620 points
55 views
+1 vote
1 answer
0 votes
1 answer

Docker: How to connect Node.js in container to Hyperledger Fabric?

You need to map ~/.composer/cards of your Docker host ...READ MORE

answered Oct 31, 2018 in Blockchain by Omkar
• 67,120 points
76 views