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

Hyperledger fabric does not recognizes the MSP and certs

I'm using ubuntu 16.04. When i tried to customize the network configuration according my needs, i'm facing that error: 2018-03-20 22:54:33.547 UTC [cauthdsl] deduplicate -> ERRO 52c33 Principal deserialization failure (the supplied identity is not…
V. Kar
  • 13
  • 2
1
vote
1 answer

Local Login Hyperledger Composer

there are no guides available but it should be theoretically possible to set up a local login for the hyperledger REST server... Has someone been able to implement a local one?, or rather can someone recommend a mechanisam other than OAuth that he…
Martin
  • 25
  • 4
1
vote
2 answers

Hyperledger Fabric v1.1.0 byfn tutorial on Ubuntu 16.04

root@sungil:~/fabric-samples/first-network# export CHANNEL_NAME=mychannel root@sungil:~/fabric-samples/first-network# ../bin/configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID…
sung-il
  • 151
  • 1
  • 2
  • 7
1
vote
0 answers

How to tie asset to network participant in fabric chaincode

I am writing chaincode for Hyperledger Fabric using node. I am trying to model a network in which I have a buyer and a seller in a channel whose purpose is exchanging a Car asset. I do have a transaction which is called sellCar and invoked by the…
1
vote
1 answer

Running hyperledger composer playground locally causes an Error

I am working on a tutorial on Hyperledger Composer (https://www.ibm.com/developerworks/cloud/library/cl-deploy-interact-extend-local-blockchain-network-with-hyperledger-composer/index.html). It uses docker to run local version of hyperledger…
1
vote
1 answer

Hyperledger configtxgen creates genesis.block without Application Group

Whenever I try to connect a peer to a channel I receive the following error message : Error: proposal failed (err: rpc error: code = Unknown desc = chaincode error (status: 500, message: "JoinChain" for chainID = productionChannel failed because of…
smeyers
  • 333
  • 1
  • 12
1
vote
0 answers

Error joining peer to channel, using Hyperledger Fabric example

Working with the examples provided by the composer tools, what I get from the following link. https://github.com/hyperledger/composer-tools/tree/master/packages/fabric-dev-servers I was able to run the downloadFabric.sh file and get the docker…
1
vote
1 answer

Hyperledger Fabric CA authority attribute

I have a question about Fabric CA: if I apply attributes (information) into CA and later on if I want to change some attributes into CA, how do I do this?
1
vote
1 answer

Does Hyperledger remove asset actually remove anything?

I'm trying Hyperledger Composer and I'm just wondering what happen when we remove an asset. Is it possible to remove / delete anything from the blockchain? Or we simply mark an asset as removed, but actually all the transaction records of that asset…
1
vote
1 answer

Return values from chaincode in Hyperledger Fabric

I would like to get some data from a chaincode transaction (too complex for a query), but, as I see from the code, transactions return promises that don't resolve to values. In addition, chaincode has access to the current user's identity, and I…
ulu
  • 5,872
  • 4
  • 42
  • 51
1
vote
2 answers

Can't generate first network sample (failed storing private key)

i'm following this tutorial : http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html with windows 7 i installed all requirement but when i use this command : ./byfn.sh -m generate I get this error :…
Eestu
  • 11
  • 2
1
vote
1 answer

Hyperledger - How does the Rest Server knows which wallet to use for a specific logged-in client?

I was reading this pretty cool article this morning: https://medium.com/@CazChurchUk/developing-multi-user-application-using-the-hyperledger-composer-rest-server-b3b88e857ccc I am interested in the Rest Server features but I have a couple of…
1
vote
0 answers

Unable to Query Chain Code

I have a simple Invoke function that calls 2 methods depending upon arguments as shown below: func (t *SimpleChaincode) Invoke(stub shim.ChaincodeStubInterface) pb.Response { fmt.Println("chaincode_custom Invoke") function, args :=…
Atif
  • 226
  • 3
  • 15
1
vote
2 answers

What is the main role of Orderer in Hyperledger Fabric?

I am curious to know the main role of Orderer in Hyperledger Fabric. Some tutorial says it is a validator and some says it is used for consensus.
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
1
vote
1 answer

Handshake failed with fatal error SSL_ERROR_SSL in composer network ping

When I ping blockchain business network using composer network ping command getting following error: Command : ubuntu@pc:~/Yogendra/BlockChain/order-supply-chain-27-Feb-2018/order-supply-chain$ sudo composer network ping -c…