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
6 answers

In Hyperledger Fabric when I try to invoke, I'm getting the following error: chaincode definition for 'fabcar' exists, but chaincode is not installed

I've followed 2 different tutorials https://github.com/swetharepakula/Fabric101Workshop and https://hyperledger-fabric.readthedocs.io/en/release-2.0/deploy_chaincode.html. Both times when I query installed it shows fabcar is installed and it…
Bess
  • 81
  • 1
  • 2
8
votes
1 answer

Hyperledger Fabric 2.0-beta Javascript Dev Mode

I'm running and adapting chaincode dev mode, for javascript chaincode, and for Fabric 2.0-beta. I launch the network and adapt the script.sh (client) to run: set -e peer channel create -c myc -f myc.tx -o orderer:7050 peer channel join -b…
raf
  • 42
  • 11
8
votes
2 answers

When I try to create a channel using Hyperledger Fabric, the request fails

When I try to create a channel using Hyperledger Fabric, the request fails and returns the following error: Client logs: Error: got unexpected status: BAD_REQUEST -- error validating channel creation transaction for new channel 'testchannel',…
Pam A
  • 87
  • 1
  • 4
8
votes
1 answer

How to add a new orderer in a running hyperledger fabric network using raft?

I want to add a new orderer to my existing running network. Currently my network is as follows : docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS …
Adarsha Jha
  • 1,782
  • 2
  • 15
  • 37
8
votes
4 answers

What is the importance of orderer genesis block in Hyperledger Fabric?

In the build your first network documentation. TwoOrgsOrdererGenesis: generates the genesis block for a Solo ordering service. TwoOrgsChannel: generates the genesis block for our channel, mychannel. The mychannel.tx is the genesis block in the…
Shubham Chadokar
  • 2,520
  • 1
  • 24
  • 45
8
votes
1 answer

How to secure hyperledger fabric state database?

I have a use case where one individual(i1) hosts hyperledger fabric system. Other individual(i2) is also interested to use the system, but is unsure if his data is secure in the system. I can create two separate channels or even make private data…
Bukks
  • 408
  • 7
  • 16
8
votes
3 answers

Issue in ansible playbook command?

I am trying to execute a command on docker on other machine from my machine. When I execute this command: - name: Add header command: docker exec cli bash -l -c "echo '{"payload":{"header":{"channel_header":{"channel_id":"gll",…
TechChain
  • 8,404
  • 29
  • 103
  • 228
8
votes
2 answers

Channel creation fails in Hyperledger Fabric v1.2

I'm trying to start an Hyperledger Fabric network in v1.2 with a network generated by myself (with binary configtxgen). The network starts correctly and no component indicates an error. However, when I try to create a new channel, an error occurs at…
AnTiToinE
  • 421
  • 5
  • 16
8
votes
2 answers

OCI runtime exec failed: exec failed: container_linux.go:348 : starting container process caused "no such file or directory": unknown

I am trying to bringup my fabric network. I got my orderers organization started. I got my peer organizations started. I got my cli started. after that request is failing with OCI runtime exec failed: exec failed: container_linux.go:348 :…
Naga
  • 91
  • 1
  • 4
8
votes
2 answers

Best practice to save files in blockchain

What is the best practice to save files as part of a blockchain's data? I have tremendously large files to be saved. Can't we save these file on cloud storage (centralized solution like dropbox), and link them with blockchain data using a file…
8
votes
8 answers

How your data is safe in Hyperledger Fabric when one can make changes to couchdb data directly

I am wondering that how your data is safe when an admin can change the latest state in Couchdb using Fauxton or cURL provided by Couchdb directly. According to my understanding Hyperledger Fabric provides immutable data feature and is best for fraud…
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
8
votes
2 answers

Attempt to achieve high throughput in Hyperledger Fabric network

Hyperledger community in the article Hyperledger Fabric: A Distributed Operating System for Permissioned Blockchains shows that Fabric achieves end-to-end throughput of more than 3500 transactions per second in certain popular deployment…
8
votes
1 answer

Remove(Delete) existing channel

I built fabric network using kafka. Then, I created 2 channels such as "channel_A" and "channel_B". Now, I don't need "channel_B". So, I want to remove(delete) this "channel_B" from my network. Is there any way to remove(delete) it?
dr_devbc
  • 303
  • 2
  • 6
8
votes
3 answers

hyperledger fabric Failed to generate orderer genesis block

Generated byfn.sh my first network, the emergence of configtxgen can not generate genesis block. My error is as follows: [root@demo first-network]# ./byfn.sh generate Generating certs and genesis block for with channel 'mychannel' and CLI timeout of…
kaifoon
  • 81
  • 1
  • 2
8
votes
1 answer

Can identities running on Indy be referenced in Fabric blockchain?

As it stands today, Can identities running on Indy be referenced in Fabric blockchain (like in a smart contract)?
drecute
  • 748
  • 4
  • 11
  • 29