Questions tagged [hyperledger-fabric]

Hyperledger Fabric is an implementation of blockchain technology. Use this tag for questions about this project.

Use this tag for questions about this project.

Another good idea is to reach out to the community at

Documentation can be found at

Refer development lifecycle and officially provided resources at

6206 questions
5
votes
2 answers

What install and instantiation chaincode really mean in hyperledger fabric? and what are the differences between them?

In the hyperledger fabric documentation, there are 2 terms used 1. Install the chaincode on peers and 2. Instantiate the chaincode on the channel What are the major differences between these two? In the documentation it said that a chaincode can…
Shubham Chadokar
  • 2,520
  • 1
  • 24
  • 45
5
votes
1 answer

Failed to get endorsement plan when trying to initialize Channel object to use service discovery

I'm trying to use the service discovery feature in Fabric 1.4. My network is default, 2 organizations and 2 peers per organization. I try to invoke a chaincode via service discovery feature rather than setting specific target peers. (Before using…
byron1st
  • 969
  • 1
  • 13
  • 35
5
votes
2 answers

Hyperledger Fabric : Failed to send peer responses for transaction 'xxx' to orderer

I have deployed the Hyperledger fabric on AWS using cello ansible with dockers. Everything works fine. I was able to do a transaction using composer playground. In a process for vertical scale-up the system, I have created a bigger AWS instance…
5
votes
1 answer

Certificate Authority in Hyperledger Fabric and Hyperledger Sawtooth

Does Hyperledger Sawtooth have any component that performs an action similar to what Fabric CA does in Hyperledger Fabric? In case it does not have, can I make use of any such external component?
5
votes
2 answers

how to edit JSON type easily in golang(like Node.js)

I try to convert to node.js code into golang code. This is my sample JSON. { "result": { "birthInfo": { "birthYmd": "2018-07-25", "cattleNo": "cow001", "docType": "registerBirth", "lsTypeNm": "redbull", …
TH Cho
  • 61
  • 5
5
votes
1 answer

Cryptogen: command not found

I am trying to add a new peer to a SOLO hyperledger setup. I used hyperledger composer. I updated the crypto-config.yaml file to make the count for peers to 2 and also other changes. But when I try to run this command under hlfv1/composer cryptogen…
sangeetswiss
  • 61
  • 2
  • 6
5
votes
1 answer

Best Practices to follow while writing Hyperledger Fabric Chaincode

What should be some of the best practices to follow to avoid bugs and write efficient Hyperledger Fabric Chaincode?
arnabkaycee
  • 1,634
  • 13
  • 26
5
votes
2 answers

Failed to invoke in Fabric v1.2 tutorial:build your first network

When I followed the tutorial for fabric(v1.2) (link here) to execute the invoke the following command peer chaincode invoke -o orderer.example.com:7050 --tls true --cafile…
haha liu
  • 51
  • 2
5
votes
3 answers

bring the network up fails in Hyperledger Fabric

I am following this tutorial, and trying to build the network. However, when I tried to run this command:./ byfn.sh -m up, but I got the following error: Error: failed to create deliver client: failed to load config for OrdererClient: unable to…
xueying.B
  • 51
  • 1
  • 3
5
votes
6 answers

"exec: \"scripts/script.sh\": stat scripts/script.sh: no such file or directory

I am getting this error while trying to bring up the first hyperledger network: $ ./byfn.sh -m up Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds Continue? [Y/n] y proceeding ... 2018-05-13 07:33:04.240…
Arun
  • 61
  • 1
  • 3
5
votes
1 answer

What is the maximum Transaction size in hyperledger-fabric?

I tried to upload an Image into the ledger (converted image to base64 string and passed it as an arg in the transaction ). When i send an image of size 30 kb it worked fine , But with an 100kb image my transaction failed , stating that the max size…
jaswanth
  • 1,759
  • 2
  • 10
  • 16
5
votes
1 answer

CAs,Enrollment,Registration for HyperLedger Fabric

I was studying Hyperledger Fabric and running sample codes . I am still trying to get the correct picture of how things work ,especially in the user/admin registration and enrollment using certificates and crypt materials. I want to know how the…
Skadoosh
  • 699
  • 2
  • 11
  • 27
5
votes
2 answers

Hyperledger Explorer installation fails

I have been trying to install Hyperledger Explorer onto the AWS instance of Hyperledger Fabric (1.0). I am referring to the installations steps mentioned at https://github.com/hyperledger/blockchain-explorer, which are mentioned below too. cd…
5
votes
3 answers

Error in starting hyperledger fabric network with hyperledger composer

I am trying to set up a network using hyper ledger composer, for which I followed the Developer tutorial for creating a Hyperledger Composer solution but when I use the command composer network start --networkName tutorial-network…
5
votes
3 answers

Hyperledger Fabric Simples issue Run ./byfn.sh -m up failed

I want to build first-network of Hyperledger Fabric Samples I get the simple code from git then download the platform-specific binaries follow the guide http://hyperledger-fabric.readthedocs.io/en/v1.0.5/samples.html But when I run the command …