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
8
votes
10 answers

Hyperledger Composer v0.16.0 network start error

I'm trying Hyperledger Composer v0.16.0. According to this procedure, I want to Deploy BNA to Fabric network on cloud. but following error occurs. Kindly let me know how I can solve it. command: composer network start --card PeerAdmin@myfabric…
SKuri
  • 183
  • 1
  • 2
  • 10
8
votes
2 answers

What does Hyperledger composer do .Does that create chaincode for fabric or something else?

I have been working on hyperledger fabric for some time. But I don’t understand where hyperledger composer comes in place . I do understand that it helps in visualizing the logic and transaction. But what I don’t get is how do you integrate it with…
Paras Jain
  • 111
  • 1
  • 6
8
votes
2 answers

Read (query) transaction flow in Hyperledger Fabric

I am trying to understand the "Query" transaction flow in Hyperledger Fabric. I understand the "write" flow in Fabric as it is well documented. However, things are not so clear when a read/query transaction is involved. This is what I have…
Ripul
  • 1,271
  • 4
  • 15
  • 18
8
votes
1 answer

What are hardware requirements to run Hyperledger Fabric peer?

What are minimum hardware requirements to run a Hyperledger Fabric v1 peer?
neuromouse
  • 921
  • 1
  • 12
  • 32
8
votes
4 answers

Where can I find out the possible environment variables for Hyperledger Fabric peer command?

When configuring a peer node to run, there are a number of environment variables included in the sample docker-compose files. Is there somewhere that I can find them all documented? e.g. environment: -…
christo4ferris
  • 4,039
  • 1
  • 17
  • 30
8
votes
2 answers

How to query ledger and historic data in Hyper-ledger Fabric

As ledger contains a sequence of transaction, How can I query the current state of ledger and Historic data from ledger.
Manoj Indian
  • 101
  • 1
  • 4
8
votes
2 answers

Where does hyperledger fabric store the database for the blockchain?

I have hyperledger fabric network setup on my local machine with a single validating node. I am developing a chaincode and would like to clear my blockchain. I have read that the hyperledger fabric stores the database under /var/hyperledger. …
shaggy
  • 111
  • 1
  • 4
7
votes
5 answers

The Name of Hyperledger Fabric Test Network is not detected by an Application given in the fabric samples

I just reinstalled Fabric Samples v2.2.0 from Hyperledger Fabric repository according to the documentation. But when I try to run asset-transfer-basic application located in fabric-samples/asset-transfer-basic/application-javascript directory by…
sayhan
  • 95
  • 2
  • 7
7
votes
3 answers

Hyperledger Fabric blockchain network from scratch

I've been studying the Hyperledger Fabric framework reading the docs for quite a while now but I'm getting a little lost in the middle of all that info. My question is: Is there any guidelines/"Step by step" on how to design a blockchain network…
d3v9
  • 97
  • 6
7
votes
7 answers

Failed to reach implicit threshold of 1 sub-policies, required 1 remaining: permission denied

I created a small HyperLedger Fabric Network where I have a single channel with a single organization and a few peers along with an ordering service. After going through the normal steps of creating my cryptographic materials , genesis block and…
Ishan Sanganeria
  • 345
  • 2
  • 12
7
votes
1 answer

Hyperledger Fabric - Error on Invoke / TLS handshake failed with error tls: first record does not look like a TLS handshake

Scope: This is a network with one channel composed of 3 Orgs, 1 anchor peer per organization, 1 CA per org and 1 MSP per org. I'm facing an issue on my Hyperledger Fabric network related to the TLS handshake process that occurs when I make an…
zyzz
  • 73
  • 1
  • 4
7
votes
2 answers

Hyperledger fabric Error: 14 UNAVAILABLE: TCP Write failed

When chaincode container remains idle for some time then it stops with error: ERROR [lib/handler.js] Chat stream with peer - on error: "Error: 14 UNAVAILABLE: EOF\n at createStatusError (/usr/local/src/node_modules/grpc/src/client.js:64:15)\n …
7
votes
1 answer

How to ensure that a chaincode is invoked by another chaincode

Lets say that we have two different chaincodes: cc1 and cc2. If cc1 invokes cc2 is there a way for cc2 to check if the invocation is coming from cc1.
Ilia Vatahov
  • 141
  • 3
7
votes
3 answers

Why does hyperledger-fabric need more than one orderer?

I have several questions: Why does hyperledger network need more than one orderer node? If I understand correctly, after nodes validate the transactions, they pass those transactions to an orderer node. orderer node will timestamp those…
Nika Kurashvili
  • 6,006
  • 8
  • 57
  • 123
7
votes
1 answer

Bulk insert into Hyperledger Fabric keeps timing out

We're bulk inserting records into Hyperledger Fabric. However, we are hitting time out issue. Even we keep increasing the timeout, we will simply have this error happening at a later point. Each transaction inserts 1000 records using PutState in a…
angelokh
  • 9,426
  • 9
  • 69
  • 139