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
4
votes
1 answer

User registration & login in Hyperledger fabric

I am working on a project where I need the functionality of user registration and user login. I need some suggestion. What would be the better way of achieving this task? A.) Old school email & password OR B.) By using public & private keys? What…
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
4
votes
4 answers

Hyperledger Fabric Explorer config.json error

I am trying to run Explorer 3.6 for fabric version 1.2.0.I am using balance-transfer app for testing.My config.json file is as below- { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { …
4
votes
2 answers

How to start intermediate ca using docker-compose?

The steps which I have followed: 1) started the fabric with 1-ca(which is root ca), 1-orderer, 1-peer and 1-couchdb 2) I attached the shell to ca which is root and fire the 2 commands to register the intermediate ca. fabric-ca-client…
4
votes
3 answers

Error while starting hyperledger explorer with fabric v1.2

Getting the following error while starting explorer: <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize…
kpratihast
  • 842
  • 1
  • 10
  • 23
4
votes
1 answer

Hyperledger Explorer: how to prevent participants from accessing transaction history

In my Hyperledger-Fabric application (developed with Hyperledger Composer), I want to prevent participants from being able to look at the old transactions. Old transactions can be viewed either in the Hyperledger Composer Historian or in the…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
4
votes
1 answer

Hyperledger Fabric SDK - https & TLS Cert / Key

Note: I am using the Go SDK, but this should apply to Node, Java, etc. SDKs. I am using a fabric-ca instance as my Certificate Authority, and for a realistic production environment I need to use a secure connection. Based on the config-e2e.yaml…
sean
  • 3,484
  • 5
  • 27
  • 45
4
votes
2 answers

Composer network install: ERROR no valid responses from any peers

I'm working on the hyperledger blockchain on Ubuntu 18-04 LTS via this tuto hyperledger.github.io/composer/latest/tutorials/developer-tutorial . I have installed all the pre-requisites and in this step of running "composer network install", I faced…
4
votes
3 answers

Cross-ledger communication between Hyperledger Fabric and Hyperledger Indy

Is it possible to have a cross-ledger identity management between hyperledger fabric and indy? Is it possible to communicate between Hyperledger Fabric and Hyperledger Indy? Can I read the data from Fabric and store it in Indy and vice-versa? My…
4
votes
1 answer

Restrict user access to only some channels in hyperledger fabric

In hyperledger fabric, suppose there is a channel, 'channel_12' between org1 and org2 and another channel, 'channel_13' between org1 and org3. Suppose there are 2 users, 'Org1User1' & 'Org1User2' in org1. Can we restrict the access of Org1User1 to…
Abhinay B
  • 199
  • 10
4
votes
1 answer

Hyperledger Fabric: Do we need to pass TLS cert/key files while joining channel?

I have a multi-org network fabric network up and running from different hosts. The docker containers for the peers have TLS enabled. The build configuration of the peer: - CORE_PEER_TLS_ENABLED=true -…
Mrudav Shukla
  • 708
  • 1
  • 7
  • 25
4
votes
1 answer

Chaincode (smart contract) interactions within and across channels in Hyperledger Fabric

Consider the Organization-Peer setup in a Hyperledger Fabric network as shown in the image. Org 1 has two peers, Org 2 has one peer - all of which exist inside the same channel - X. Org 3 has one peer which exist outside in a different channel. The…
4
votes
0 answers

Peer channel join using the REST API (sample application) fails saying FORBIDDEN at the nodejs terminal

I am running the sample app and trying to join a channel using REST APIs. The following error happens at a place when the channel.getgenesisblock(request) call is being made. The GitHUB code is at…
4
votes
0 answers

Hyperledger Fabric - Chaincode Invoke Version (for client version variations)

The peer chaincode invoke command does not accept a version flag: $ peer chaincode invoke --help Invoke the specified chaincode. It will try to commit the endorsed transaction to the network. Usage: peer chaincode invoke [flags] Flags: -C,…
sean
  • 3,484
  • 5
  • 27
  • 45
4
votes
0 answers

Hyperledger Fabric - Orderer (System) Channel vs. Application Channel

EDIT: My previous question version focused on some confusion in the Orderer FAQ, but I think the below question better identifies the confusion with the Orderer (System) Channel: Q: What specifically defines the boundaries of a Hyperledger Fabric…
sean
  • 3,484
  • 5
  • 27
  • 45
4
votes
1 answer

How to sign a Hyperledger Fabric transaction at web application client side?

I am trying to design a Hyperledger Fabric solution with following requirements The users are signed-up with an organization The user should however have their individual identities on Blockchain The users would interact with Blockchain through a…