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

5647 questions
1
vote
1 answer

What is the channelID byfn-sys-channel in the basic network (Fabric Samples)?

While generating orderer genesis block the channel ID supplied to configtxgen is byfn-sys-channel despite the name of the channel being mychannel Can somebody throw up some light about it's significance. Also this change has been incorporated in…
Udyan Sharma
  • 124
  • 7
1
vote
1 answer

Hyperledger Fabric - How to limit Org2 to install/instantiate/upgrade the chaincode to the channel?

My fabric network's consortium(in configtx.yaml) has two organizations: ORG1 and ORG2. ORG1 has 4 main peers and ORG2 has only 1 peer. ORG2 peer's only purpose is to have the copy of the ledger(for the auditing purpose). They all joined the same…
Sam Lee
  • 51
  • 7
1
vote
2 answers

What happen to invalid transactions in a block verified/created by orderer in hyperledger fabric?

In the transaction flow documentation 5. Transaction is validated and committed The blocks of transactions are “delivered” to all peers on the channel. The transactions within the block are validated to ensure endorsement policy is fulfilled and…
Shubham Chadokar
  • 1,286
  • 12
  • 34
1
vote
1 answer

What is the use of TLS concept in the first network of fabric samples of hyperledger?

How can we implement TLS in first-network?i have tried by adding the below section in peers.What is the need to configure peers by…
1
vote
1 answer

How to add peers dynamically to an existing hyperledger fabric network using node sdk?

In all of the tutorials , I see that we can add an organization or peer manually to an existing fabric network. But how do i dynamically assign an incoming node as a peer or an orderer depending on some criteria?
1
vote
2 answers

Whenver i try to run ./startFAbric.sh i get an error "Error respomse from daemon"

I have been trying to run this: ./startFabric.sh commandline and it is showing the following error: Sleeping for 15 seconds to wait for fabric to complete start up. Error response from daemon: Container…
1
vote
1 answer

How to solve: Convector Hurley install error Error writing Chaincode package contents: no source files found in

When installing a chaincode with Hurley in a Convector project this error is launched: 2019-03-08 08:19:56.808 CST [node-platform] GetDeploymentPayload -> ERRO 003 Error writing folder to tar package no source files found in…
1
vote
2 answers

Hyperledger Fabric 1.4 : How to test and verify registerChaincodeEvent function from the Fabric Node SDK?

I am currently emitting an event from my chaincode when adding an asset. async addRequestNode(ctx, sampleAssetId, sampleData) { //console.info('============= Adding Sample Asset ==========='); await…
Dheeraj Kumar
  • 374
  • 5
  • 14
1
vote
1 answer

Java Hyperledger-panic: runtimr error: invalid memory address or nil pointer dereference

I am starting to work on Hyperledger Fabric with Java and for that, I am following the Build your first network tutorial. I am trying to install the chaincode on the peers but I keep getting the same problem and don't know how to solve it. I suppose…
Egoes
  • 23
  • 5
1
vote
1 answer

Hyperledger Fabric 1.4: How to register to chaincode emitted events?

In my chaincode I am emitting an event with the following command ctx.stub.setEvent('sampleEvent', 'somedata'); I want to Listen to this event on the client application using the Node SDK. I have the following questions, Do I need to use…
Dheeraj Kumar
  • 374
  • 5
  • 14
1
vote
2 answers

Error when invoking chaincode: signature set did not satisfy policy

I have a little network up in Hyperledger Fabric 1.4 which is very similar to the basic-network from the examples. It has: One orderer organization with orderer peer One Hospital organization with two peers. A single channel on which the peers of…
1
vote
3 answers

Hyperledger Fabric: Is it possible for an organization to join a channel in read only capacity?

I have tried restricting access by disabling an organisation's ability to invoke chaincode through: peer/Propose: /Channel/Application/MyPolicy where MyPolicy: Type: Signature Rule: "OR('Org1MSP.admin')" But this prevents Org2 from querying…
1
vote
1 answer

AWS CloudFormation launch Hyperledger Fabric Failed with Error: failed to create: [EC2InstanceForDev]

Following the aws documentation: https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-hyperledger.html Using the IAM policy from the document: { "Version": "2012-10-17", "Statement": [ { …
1
vote
1 answer

HyperLedger Fabric E2E Scenario Not Working

I want to use the end-2-end scenario to build my first network to invoke certificate authority containers. So, I just replaced the docker compose cli yaml file with the docker compose e2e. # use this as the default docker-compose yaml…
1
vote
2 answers

HyperLedger Fabric First Network Setup Issues

I'm newbie in the HyperLedger Fiber Technology and I'm following this official tutorial to build my first network. I replaced example.com with the domain of my company. After generating certificates I ran the follow command to up my network:…
Bilal Ahmed Yaseen
  • 1,914
  • 1
  • 19
  • 39
1 2 3
99
100