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
6
votes
1 answer

Hyperledger fabric gRPC interaction

I've been messing around with gRPC and I was looking into building my own simple and comprehensive hyperledger fabric SDK in rust. I've looked everywhere for any gRPC spec of hyperledger fabric to see how we can reproduce the functionality of…
6
votes
2 answers

failed to create new connection: desc = transport: error while dialing: dial tcp 172.19.0.4:9051: connect: connection refused Hyperledger fabric

Can anyone help me fixing below error. I'm trying to install chaincode on peer via cli. I configured cli container correctly. But somehow Im getting this error.. grpc: addrConn.createTransport failed to connect to {peer0.org1.example.com:7051 0…
6
votes
0 answers

Hyperledger Fabric: ENDORSEMENT_MISMATCH on asset query

It seems like I misunderstand how Hyperledger Fabric processes a query. I'm currently using the fabric-go-sdk to query an asset from the ledger like asset, err := client.Query(channel.Request{ChaincodeID: someCCname, Fcn: "query", Args:…
Roper
  • 903
  • 1
  • 9
  • 17
6
votes
5 answers

Could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: container exited with 0

I'm trying to instantiate the chaincode, but an error happens, and I can not find solutions to it. ubuntu 18.04 hyperledger fabric 1.4.1 I've followed the document and it succeeded last week. The same code works well on another computer. Before…
jsdtLin
  • 69
  • 1
  • 3
6
votes
1 answer

Unable to communicate with orderer from peer hyperledger fabric

I am doing a setup of fabric using multinode environment with dynamic provision (dynamic pod allocation) over google cloud platform using native kubernetes engine. I am using helm for the deployment . So let me tell you the entity which are running…
6
votes
6 answers

Can a blockchain be Centralised? Will it be called as Blockchain if it is centralised?

I was reading lot of articles on blockchain and almost everyone has some different understanding of blockchain. Is there any accepted definition of Blockchain by any community? In few articles I read: Blockchains are Decentralised while DLTs…
Shubham Chadokar
  • 2,520
  • 1
  • 24
  • 45
6
votes
3 answers

fabcar.go chaincode of hyperledger does not accept the changes and modification and always run previous chaincode

I am new in hyperledger fabric and install all the pre requirement and hyperledger fabric fabcar chain code is run correctly but when I changed fabcar.go in hyperledger fabic chain code and when I run it the old cars will be show and no changes…
6
votes
2 answers

Using HyperLedger Fabric with C++ Application

So I am considering HyperLedger Fabric to use with an application I have written in C++. From my understanding, the interactions i.e. posting retrieving data is all done in chaincode, in all of the examples I have seen this is invoked by using the…
6
votes
2 answers

Failed to setup IP tables: Unable to enable NAT rule

I am doing this tutorial: https://hyperledger.github.io/composer/latest/installing/development-tools Now i want to start the hyperledger fabric with ./startFabric.sh but then I get this error: dany@DESKTOP-IQB2P0B:~/fabric-dev-servers$…
6
votes
3 answers

In Hyperledger Fabric, how do I join a channel if I cannot use the peer channel fetch command?

I want to be able to have my peer join a channel (mychannel in this case). This specific peer does not have the mychannel.block file on its filesystem. What I then tried was to use peer channel fetch 0 -c mychannel. I then get the following…
Shiraaz.M
  • 3,073
  • 2
  • 24
  • 40
6
votes
1 answer

How to check if the key has already existed in Hyperledger Fabric?

In hyperledger fabric chaincode I want to check whether a key already exists or not, so that if another record with the same key is tried to be stored in the ledger, it should show up error. What is the best way to do this in fabric?
6
votes
3 answers

Data storage within hyperledger

I have started learning hyperledger. Became familiarised with it by creating a sample app using the composer playground. My doubt is regarding the decentralized storage using hyperledger. I have read some few docs which mentions about : Saving the…
Sooraj
  • 514
  • 4
  • 20
6
votes
1 answer

What docker network should chaincode containers stay in?

I have a fabric network setup that works through a docker overlay network. When I execute docker network inspect fab_overlay_net the chaincode containers are there along with the peer and orderer containers. My question is whether the chaincode…
Dulev
  • 93
  • 5
6
votes
5 answers

How to fix "FAILED to execute End-2-End Scenario" in Hyperledger Fabric?

I'm trying running up Fabric samples that is provided here: https://github.com/hyperledger/fabric-samples/tree/release-1.2/first-network I followed all the instructions of Fabric docs from:…
陈梓泉
  • 145
  • 2
  • 9
6
votes
5 answers

Hyperledger Fabric: Private Data and World State

Assume I have a Hyperledger-Fabric Application, where different members can comment on each other's profile pictures. Assume further there are three members ("organisations"): Adam, Bob and Sara. Furthermore, between Adam and Bob Fabric's new…
steady_progress
  • 3,311
  • 10
  • 31
  • 62