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
1
vote
1 answer

How to deploy a Daml smart contract to Hyperledger Fabric or Sawtooth?

I have a smart contract in DAML and i want to deploy this smart contract to Hyperledger Fabric or Sawtooth. I can't find any tutorial about this purpose. Also, i don't find any example on the Daml documentation which tool is used to deploy the smart…
1
vote
0 answers

Error in running byfn: failed to endorse chaincode install, rpc error code unavailable

I am on CentOS 7, installed all prerequisites, cloned the fabric-samples git repository. I am referring to the tutorial "Building Your First Network", found here. At this point I have successfully run the command ./byfn.sh generate Now I want to…
1
vote
1 answer

FabCar Hyperledger Fabric ./startFabric.sh execution is not completely working

Im experimenting Hyperledger Fabric FabCar basic example. Successfully registered admin and user, using registerAdmin.js and registerUser.js. I am currently facing this error after running node query.js. ~/fabric-samples/fabcar$ node query.js Store…
1
vote
2 answers

Channel capability V2_0 is required but not supported Fabric V2

I'm getting this error with orderer while launching a Fabric v2 network Channel capability V2_0 is required but not supported My configtx.yaml's Capabilities section Capabilities: Channel: &ChannelCapabilities V2_0: true Orderer:…
Moazzem Hossen
  • 2,276
  • 1
  • 19
  • 30
1
vote
1 answer

fabric-ca-client enroll with error Failed to read response of request: POST http://localhost:7054

I checkout project fabric-samples and run file startFabric.sh to start Fabric blockchain network. After that, I run node enrollAdmin.js to enroll the new admin Now, I want to use the command line of fabric-ca-client to add a new user to org1. I…
Chi.che
  • 33
  • 1
  • 10
1
vote
2 answers

creating orderer genesis block without cryptogen

I am currently trying to build a production hyperledger-fabric setup. Therefore I am using a CA instead of cryptogen. My structure looks like this: orderer org1 peer0.org1 peer1.org1 org2 peer0.org2 peer1.org2 and I have 2 CAs (1 for every…
1
vote
0 answers

How to change CouchDB version for Hyperledger Fabric?

I am trying to run the BYFN first network sample for Hyperledger Fabric v1.4. I am able to start the network by giving command "sh byfn.sh -m up" (after setting up binaries and pre-requisites of course). The test runs well and the chaincode is…
Skadoosh
  • 699
  • 2
  • 11
  • 27
1
vote
0 answers

Orderer connection refused Hyperledger Fabric

I am trying to run the fabric-sample with tls settings removed. The networks and all containers are running good without any errors but when I , try to run the channel creation command from cli, it is unable to connect to orderer container. CLI…
blazehub
  • 1,880
  • 19
  • 25
1
vote
2 answers

Is it possible to install different versions of binaries in Hyperledger Fabric at the same time?

I am trying out samples in Hyperledger Fabric and installed the binaries for version 1.4 using the "curl" command by adding "-s 1.4.0" $ curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.4.0 This…
Skadoosh
  • 699
  • 2
  • 11
  • 27
1
vote
3 answers

Fabric v2.0 in kubernetes (minikube) - error Peer channel - error validating proposal: access denied: channel [] creator org [Org1MSP]

I am trying to set up the Fabric v2.0 test-network (https://hyperledger-fabric.readthedocs.io/en/release-2.0/test_network.html) on kubernetes (locally on minikube). I have an error whith peer channel join. I created kubernetes files based on the…
Jon - LBAB
  • 928
  • 11
  • 20
1
vote
1 answer

Migration from solo consensus to raft consensus

I've used byfn.sh to build a hyperledger network with solo consensus. Now I want to migrate to Raft consensus, but without destroying the blockchain and start from zero. Is it possible to migrate Hyperledger fabric from Solo consensus to Raft…
No name
  • 323
  • 4
  • 11
1
vote
0 answers

Not able to start fabric-ca-server using softhsm configuration

I have executed the following command: fabric-ca-server init -b admin:adminpw Getting the following error: 2020/02/06 06:41:12 [INFO] Server Version: 2.0.0 2020/02/06 06:41:12 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1…
1
vote
0 answers

How do you connect to a external deployed Hyperledger Fabric network?

I downloaded and installed and started the fabcar example on a VM on Azure. By following the tutorial enrollAdmin, registerUser and invoke work when I execute it on the VM itself. However when I try to execute invoke on my local machine (copied the…
kegesch
  • 61
  • 5
1
vote
0 answers

Read Old Transaction in Hyperledger Fabric

I wish I could read the payload of a transaction and be able to extract information. I created a new entry in the ledger by invoking my chaincode's "createPerson" method + peer chaincode invoke -o orderer.example.com:7050 --waitForEvent --tls true…
1
vote
1 answer

Does anyone have tried the HLF 2.0 feature "External Builders and Launchers" and wants to get in touch?

I'm getting my way through the HLF 2.0 docs and would love to discuss and try out the new features "External Builders and Launchers" and "Chaincode as an external service". My goal is to run HLF2.0 on an K8s cluster (OpenShift). Does anyone wants to…