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

read/writes result sets do not match index=1

I try do deploy my own network with hyperledger fabric. I have : - 1 orderer - 1 CA - 2 peers (with there DB) Everything works well except when I post a Transaction. I've got this error in my server NodeJS : error: [Channel.js]:…
Cocorico
  • 1,998
  • 1
  • 22
  • 38
4
votes
2 answers

Hyperledger Sawtooth - Preflight error while submitting transaction

I am trying to submit a transaction to Hyperledger Sawtooth v1.0.1 using javascript to a validator running on localhost. The code for the post request is as below: request.post({ url: constants.API_URL + '/batches', body:…
KBhokray
  • 117
  • 1
  • 10
4
votes
2 answers

chaincode in hyperledger composer vs chaincode in hyperleger fabric?

does same functionality can be achieved by writing chaincode with javascript in hyperledger composer as writing chaincode with go in Hyperledger fabric? and What are the limitations and benefits of writing chaincode in JS as compared to writing in…
4
votes
1 answer

Hyperledger Composer Web application user authentication

I already created a business network using hyperledger composer and I created a simple web app for adding participants and submitting transactions through web interface by using angular. Also, I have enabled authentication for the REST server using…
ethertest
  • 317
  • 4
  • 13
4
votes
1 answer

Are there enterprise solutions being developed/already developed using Hyperledger Composer

I did a small POC on blockchain using Hyperledger Composer and deployed a BNA file created using Hyperledger Playground on IBM Bluemix Container. The Angular sample app created by yeoman gave me an option to connect to the REST API exposed for the…
4
votes
1 answer

Does Orderer have Block(Ledger) data?

I built hyperledger fabric network using Kafka-based Ordering Service. I thought that Orderer doesn't have Block data. But, when I checked /var/hyperledger/production/orderer/chains/mychannel in Orderer server, I found blockfile_000000 file. I…
dr_devbc
  • 303
  • 2
  • 6
4
votes
1 answer

Difference between Fabric CA server and CA Client

What are the functions of the Fabric CA Server and Fabric CA Client? What are the Roles of the Fabric CA Server and Fabric CA Client? Thanks
Charmy Garg
  • 291
  • 2
  • 14
4
votes
1 answer

Hyperledger Fabric Client Registration failed

I am new to Hyperledger Fabric and i am trying to register the fabric client with the server locally. here is what i have done so far. go get -u github.com/hyperledger/fabric-ca/cmd/... fabric-ca-server start -b admin:adminpw after that i got the…
Akash Sethi
  • 2,284
  • 1
  • 20
  • 40
4
votes
3 answers

What is the relation between `Fabric`, `Composer`, `Cello` and other Hyperledger applications?

When I was tasting the fabric, I found many other blockchain projects, like Composer, Cello, Explorer. They are all belong to Hyperledger. I'm very confused that there are so many projects. Should I learn all of them? It seems each project plays a…
4
votes
2 answers

Ledger encryption in Hyperledger Fabric 1.0

I am analyzing various attack vectors, including a successful attempt by a malicious party to take over one of Fabric peers and thus, owning a local copy of world state and blockchain ledger. Is there a native (configurable) option that would allow…
99hardforks
  • 139
  • 8
4
votes
1 answer

How does an end user get their certificates in Hyperledger Fabric?

I am new to hyperledger and have been reading the documentation and playing around with the sample codes. I am a bit confused on how the registration/enrollement/authentication of new users is done in hyperledger. I hope someone could clarify these…
Nabil
  • 186
  • 1
  • 8
4
votes
3 answers

Sawtooth Invalid Batch or Signature

I have started playing atound with Hyperledger Sawtooth recently, and having trouble to submit transactions on java, while python code seems okay. I have prepared the python code based on the api docs here and then tried to write one in java as…
4
votes
2 answers

How to upgrade a chaincode after modification?

I am new to hyperledger and is going through the example here . I am tried to play around the chaincode but is now stuck at the part where I am suppose to upgrade the chaincode I have tried to execute the peer chaincode upgrade within the docker…
user3500286
  • 73
  • 1
  • 3
4
votes
1 answer

Querying in Hyperledger Composer

When I try to make the query: query PapersFromAPoll { description: "retrieve all the papers from a poll" statement: SELECT org.acme.democracity.Paper WHERE(poll.pollId == _$id) } I am not able to get any rows, here is…
4
votes
2 answers

Hyperledger Fabric: peer chaincode instantiate error

Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "can't load package: package ../../bin/github.com/hyperledger/fabric/chaincode/marbles: open …
jworthington
  • 723
  • 1
  • 9
  • 17