How do I create a new block in Hyperledger Fabric?

+4 votes

I am trying to create a blockchain and have created a genesis block successfully. I now want to create 2 more blocks on the genesis block using Hyperledger Fabric in Linux. So do we have to create a new channel for creating new block or will the existing channel work?

Mar 26, 2018 in Blockchain by DareDev
• 6,810 points
475 views

2 answers to this question.

+1 vote

You need to install and instantiate a chaincode. Then you can do a (write) invoke against that chaincode, which will create new blocks. This will all occur on the existing channel.

Hope this helped.

answered Mar 26, 2018 by Christine
• 15,790 points
+1 vote
answered Oct 11, 2018 by Sahu

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can i copy block aspects in hyperledger fabric?

There are three ways you can do ...READ MORE

answered Jul 6, 2018 in Blockchain by digger
• 26,550 points
37 views
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
• 26,550 points
68 views
+1 vote
1 answer
0 votes
1 answer

How do transactions create a new block in Blockchain?

Bitcoin puts a cap of 2,400 transactions ...READ MORE

answered Aug 10, 2018 in Blockchain by Christine
• 15,790 points
48 views
+3 votes
4 answers

How do I add a new node on a Hyperledger network?

You can do this by generating the crypto ...READ MORE

answered Apr 6, 2018 in Blockchain by Christine
• 15,790 points
1,554 views