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

Unable to use interfaces in fabric-contract-api

I am trying to develop a chaincode for Hyperledger Fabric 1.4 using the IBM Blockchain Platform plugin for Visual Studio Code and the fabric-contract-api v1.4.2. In this situation, I am facing some problems when trying to use interfaces from my…
msolefonte
  • 153
  • 1
  • 11
1
vote
1 answer

Hyperledger Fabric 2.0 - gRPC message exceeds maximum size 4194304: 5947481

we have a hyperleger fabric network up and running and we have inserted a lot of data in it. When we query all the data, it gives the following error: gRPC message exceeds maximum size 4174304: 5747481 How and where can I fix this? Do I need to…
M Yil
  • 877
  • 1
  • 14
  • 35
1
vote
0 answers

IBM VS code extension fabric submit Transition error

I'm going to connect my local IBM fabric vs code extension smart contract to nodeJS. it's connected successfully and data added successfully. But In the terminal, I show this error error: [Orderer.js]: sendBroadcast - on error: "Error: 14…
1
vote
1 answer

User transaction history hyperledger fabric

I am building a hyperledger fabric blockchain application where several users interact. It seems to be working. Using hyperledger explorer I can also view the blocks and transactions in the blockchain. However, it is not clear to me how to see get…
Mike
  • 3,775
  • 8
  • 39
  • 79
1
vote
1 answer

How to bring in user sign in for a hyperledger fabric web app?

I am trying out a sample hyperledger fabric app. I am thinking to develop a web app that can communicate with fabric chaincode and execute chaincode functions. But inorder to uniquely identify a user, the certificate is required. How can I achieve a…
1
vote
1 answer

Getting permission denied error when restoring fabric network with old data

I'm trying to restore fabric-network with old blockchain data and for same I followed below steps. Backup process 1. Stopped docker swarm network. 2. created a directory `bchain_backup` and under this directory I have created sub-directories for…
metadata
  • 1,139
  • 1
  • 7
  • 28
1
vote
1 answer

Hyperledger Fabric CA Server: single point of administration

I am a bit confused about the consensus-based network administration. In my understanding of hyperledger fabric, the CA server is a single point of administration. Even though it is possible to create organization-specific CA servers, there should…
1
vote
1 answer

Is there a way to encrypt a file/string using public/private keys generated by Hyperledger Fabric?

I am using Hyperledger Fabric V1.4 on my project. I have enrolled and registered users. And now I want to transfer files between users while remain private, which means I need to encrypt the file so that only the receiver can see. For example, user…
BQZic
  • 11
  • 1
1
vote
0 answers

Create & Join Channel Error for Hyperledger Fabric WARN 001 Failed Loading ClientOU certificate

I was following the hyperledger fabric documentation. but im stuck here without knowing what to do.Please help I ran the code peer channel create -o orderer.example.com:7050 -c ehr -f ./channel-artifacts/channel.tx --tls --cafile…
lp_nave
  • 244
  • 3
  • 17
1
vote
1 answer

Creating a low-s ECDSA signature in iOS

I need to interact with Hyperledger Fabric in an iOS application, and I've run into a problem when creating the proposal signature. Fabric requires low-s ECDSA, but I can't find a way to specify that in Apple's crypto functions. Without specifying…
Michael
  • 145
  • 6
1
vote
0 answers

Cannot communicate from Fabric peer1 to orderer in a docker swarm network on multiple hosts

I have successfully set up a Hyperledger Fabric network on our cloud VMs. So far, we have no issues bringing up peers on a localhost configuration (all peers brought up on localhost). However, I tried to switch to a multi-host configuration using…
Ashish Chandra
  • 111
  • 1
  • 8
1
vote
1 answer

Error while executing the transaction dynamically in hyperledger fabric

I have modified the fabcar example to execute in a particular time interval. It works fine upto 4th or 5th times. Then it start showing error like this. 2020-02-24T10:33:09.018Z - warn: [Query]: evaluate: Query ID "[object Object]" of peer…
1
vote
1 answer

Error in running byfn: chaincode installation failed due to gradle issue?

This is a continuation of my question found here. It seems like the nature of the error has changed hence I am asking a new question. A kind soul pointed out that the Java version mismatch in my previous run, so I ran docker container ls…
1
vote
1 answer

How to prevent access to the state database outside the chaincode process

I am building a system that will hold sensitive user data. which means that I need to prevent any access to the state database outside the chaincode process. also if I am publishing the database as a docker image, how do I make sure that the peer…
Ahmed Fwela
  • 955
  • 1
  • 13
  • 32
1
vote
1 answer

fabric-ca-client cannot find ./utils.js

I'm trying to test out the fabcar example from IBM (https://github.com/IBM/fabcar-blockchain-sample). This is something that I've done before on my computer and it worked. I have installed windows-build-tools and can see that Python 2.7 is…