Questions tagged [hyperledger]

Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration, hosted by The Linux Foundation, including leaders in finance, banking, IoT, supply chain, manufacturing and technology.

Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration, hosted by The Linux Foundation, including leaders in finance, banking, IoT, supply chain, manufacturing and technology. (https://www.hyperledger.org/)

Code and documentation is available at: https://github.com/hyperledger

3942 questions
5
votes
1 answer

hyperledger fabric orderer for different networks

I have two different and separate networks. one has two organizations with two orderers and the second has three organizations with three orderers. if I want to have all five orderers in type=Raft for both networks, how should I config it? I know…
Pouya Shojaei
  • 307
  • 1
  • 10
5
votes
1 answer

Error in committed chaincode invoke/query with hyperledger fabric 2.0

I have successfully committed the chaincode with command: ./peer lifecycle chaincode commit -o orderer.example.org:7050 --channelID mychannel --name emp_chaincode --version v1 --sequence 1 --init-required --tls --cafile…
5
votes
1 answer

Is it possible to run HyperLedger Fabric 2.0 in Raspberry Pi 3?

I'm currently using Raspberry Pi 3 with the newest Raspbian Buster version. I followed the installation guide here: https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html and installed all the prerequisites beforehand: curl, docker,…
5
votes
1 answer

Hyperledger Fabric 1.4 Private data collection

Hyperledger fabric provides inbuilt support storing offchain data with the help of private collections. For this we need to specify the collection config which contains various collection names along with the participants that has access to data…
5
votes
1 answer

Registration/Login using Oath or email/password with hyperledger-fabric-ca

I'm new to Hyperledger Fabric development and I'm trying to make a user friendly registration. For example: + Using Oauth from google account. + Or using traditional email-password registration. I've read the hyperledger fabric document and…
5
votes
3 answers

What exactly is the point of private-data collection?

If we know that some organizations might want to keep certain information private from others, why not just create a separate channel? Is private-data purely just for management and to reduce channel overhead? I've read the documentation on when to…
ejgza
  • 83
  • 7
5
votes
2 answers

What install and instantiation chaincode really mean in hyperledger fabric? and what are the differences between them?

In the hyperledger fabric documentation, there are 2 terms used 1. Install the chaincode on peers and 2. Instantiate the chaincode on the channel What are the major differences between these two? In the documentation it said that a chaincode can…
Shubham Chadokar
  • 2,520
  • 1
  • 24
  • 45
5
votes
1 answer

Failed to get endorsement plan when trying to initialize Channel object to use service discovery

I'm trying to use the service discovery feature in Fabric 1.4. My network is default, 2 organizations and 2 peers per organization. I try to invoke a chaincode via service discovery feature rather than setting specific target peers. (Before using…
byron1st
  • 969
  • 1
  • 13
  • 35
5
votes
2 answers

Hyperledger Fabric : Failed to send peer responses for transaction 'xxx' to orderer

I have deployed the Hyperledger fabric on AWS using cello ansible with dockers. Everything works fine. I was able to do a transaction using composer playground. In a process for vertical scale-up the system, I have created a bigger AWS instance…
5
votes
1 answer

Certificate Authority in Hyperledger Fabric and Hyperledger Sawtooth

Does Hyperledger Sawtooth have any component that performs an action similar to what Fabric CA does in Hyperledger Fabric? In case it does not have, can I make use of any such external component?
5
votes
1 answer

Best Practices to follow while writing Hyperledger Fabric Chaincode

What should be some of the best practices to follow to avoid bugs and write efficient Hyperledger Fabric Chaincode?
arnabkaycee
  • 1,634
  • 13
  • 26
5
votes
6 answers

"exec: \"scripts/script.sh\": stat scripts/script.sh: no such file or directory

I am getting this error while trying to bring up the first hyperledger network: $ ./byfn.sh -m up Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds Continue? [Y/n] y proceeding ... 2018-05-13 07:33:04.240…
Arun
  • 61
  • 1
  • 3
5
votes
1 answer

What is the maximum Transaction size in hyperledger-fabric?

I tried to upload an Image into the ledger (converted image to base64 string and passed it as an arg in the transaction ). When i send an image of size 30 kb it worked fine , But with an 100kb image my transaction failed , stating that the max size…
jaswanth
  • 1,759
  • 2
  • 10
  • 16
5
votes
1 answer

CAs,Enrollment,Registration for HyperLedger Fabric

I was studying Hyperledger Fabric and running sample codes . I am still trying to get the correct picture of how things work ,especially in the user/admin registration and enrollment using certificates and crypt materials. I want to know how the…
Skadoosh
  • 699
  • 2
  • 11
  • 27
5
votes
2 answers

Hyperledger Explorer installation fails

I have been trying to install Hyperledger Explorer onto the AWS instance of Hyperledger Fabric (1.0). I am referring to the installations steps mentioned at https://github.com/hyperledger/blockchain-explorer, which are mentioned below too. cd…