Most voted questions in Blockchain

0 votes
1 answer

Hyperledger Fabric: How to get transaction history using key?

history, err := stub.GetHistoryForKey(key_value) for history.HasNext() { ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 69,210 points
3,317 views
0 votes
1 answer

Hyperledger Composer: How to write complex queries in Composer?

You can do this using the query ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 69,210 points
1,034 views
0 votes
2 answers

Hyperledger Fabric: Channel creation failed! FAILED to execute End-2-End Scenario

This error usually occurs if some old ...READ MORE

May 8, 2019 in Blockchain by John
2,996 views
0 votes
2 answers

Hyperledger byfn: could not assemble transaction: ProposalResponsePayloads do not match

This is because you have not installed ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 69,210 points
3,044 views
0 votes
1 answer

Hyperledger Fabric: “Local Fabric binary version does not match this newer version of BYFN and is unsupported”.

You need to first delete the existing ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,210 points
6,576 views
0 votes
2 answers

Hyperledger Fabric: Error: could not assemble transaction, err proposal response was not successful.

Hey. It seems like you already have ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,210 points
7,898 views
0 votes
1 answer

Ethereum: Cloning cpp-ethereum from git.

Yes, you can only clone the additional ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,210 points
673 views
0 votes
1 answer

Accessing External Api in HyperLedger Fabric

Generally you are not supposed to call ...READ MORE

Nov 17, 2018 in Blockchain by Christine
• 15,790 points
1,567 views
0 votes
1 answer

Hyperledger — how to set up REST API for invoking Chaincode?

Hyperledger Fabric v1.0 and later does not ...READ MORE

Nov 17, 2018 in Blockchain by Christine
• 15,790 points
2,419 views
0 votes
1 answer

How can I send data to docker?

Whenever i invoke chaincode from the cli ...READ MORE

Nov 17, 2018 in Blockchain by Christine
• 15,790 points
383 views
0 votes
1 answer

Hyperledger Fabric: How to Parse arrays in req.body in node js express?

You can get the value from the ...READ MORE

Nov 16, 2018 in Blockchain by Kavya
6,174 views
0 votes
1 answer

Hyperledger Fabric: How to Enable Full Logging in Balance Transfer?

This is how you can do it. ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,210 points
1,264 views
0 votes
1 answer

Hyperledger Fabric: Changing component item owner automatically with its parent

You can try something like this: /** * ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,210 points
829 views
0 votes
1 answer

Hyperledger composer: How to include relationship in custom query?

You are trying to use filter={"include":"resolve"} in Composer Query. ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,210 points
942 views
0 votes
1 answer

Hyperledger Fabric :failed to send proposal to peers: Unable to resolve host peer0.org1

This peer address does not exist on ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,210 points
2,038 views
0 votes
1 answer

Hyperledger Fabric: How to start/stop the fabric nodes?

This is another way to do it: docker ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,210 points
1,012 views
0 votes
1 answer

Hyperledger Fabric: make peer make: *** No rule to make target `peer'. Stop

The makefile is in /opt/gopath/src/github.com/hyperledger/fabric , not ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,210 points
1,017 views
0 votes
1 answer

Hyperledger Docker: Error building images: cannot connect to Docker endpoint.

Check your container environment variable: CORE_VM_ENDPOINT=unix:///var/run/docker.sock Then if you ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,210 points
1,537 views
0 votes
1 answer

Hyperledger Fabric: unable to check out source code from gerrit.hyperledger.org

There's something wrong with your SSH key. ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,210 points
488 views
0 votes
1 answer

Hyperledger Fabric: peer creation no ordering service endpoint created error

You have to pass an orderer in ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,210 points
555 views
0 votes
1 answer

TestRPC/Ganache: the transaction doesn't have the correct nonce

Using MetaMask v3.14.1 you can reset your account as ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
2,669 views
0 votes
1 answer

How do I get the balance of an account in Ethereum?

On the Web: (Not programmatic, but for completeness...) ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
16,791 views
0 votes
1 answer

In Ethereum Solidity, what is the purpose of the “memory” keyword?

Without the memory keyword, Solidity tries to declare variables ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
1,513 views
0 votes
1 answer

What is the difference between ipfs and ethereum?

Blockchain and IPFS are based on similar concepts of decentralized ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
3,575 views
0 votes
1 answer

Hyperledger Composer: How to specify server name in composer connection profile?

To solve this problem you can use ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,210 points
685 views
0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,210 points
2,097 views
0 votes
1 answer

Hyperledger Composer: Error: Object with ID 'assetID:0138' in collection with ID 'Asset:org.acme.mynetwork.Sensor'

Remove 'assetID:' from your test string. For example, 'org.acme.mynetwork#assetID:0138' ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,210 points
761 views
0 votes
1 answer

Hyperledger Composer: How to subscribe to and see events from transactions?

Here's the problem: this.businessNetworkConnection.on('events' //This should be changed ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,210 points
799 views
0 votes
1 answer

Hyperledger Composer: How to retrieve array of assets?

This is what worked for me: asset Ask ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,210 points
1,453 views
0 votes
1 answer

Hyperledger Farbic: Deploying business network definition

Try to clean everything using the below ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,210 points
367 views
0 votes
1 answer

Hyperledger Fabric: Upgrading Chaincode after modification

You need to specify the channel name ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,210 points
2,026 views
0 votes
1 answer

Hyperledger: Explorer Shows Empty Data and Promise is rejected: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser

This config worked for me: { "network-config": { ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,210 points
1,435 views
0 votes
1 answer

Hyperledger Fabric: ERROR: manifest for hyperledger/fabric-ca:latest not found.

docker pull hyperledger/fabric-ca:x86_64-1.1.0-preview Now tag this the latest ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,210 points
1,389 views
0 votes
1 answer

Hyperledger Composer: Not able to query fabric.

Add another rule to .acl file to ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,210 points
436 views
0 votes
1 answer

Hyperledger Fabric: Error: Error getting chaincode code chaincode: cannot find package

In the startFabric.sh launch the cli container ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,210 points
4,981 views
0 votes
1 answer

Hyperledger Composer: Error: Chaincode already installed - Composer-playground

You get this error because composer-playground saves ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,210 points
1,243 views
0 votes
1 answer

Hyperledger: How to take DateTime input from user?

There are tow options: 1. You can set ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,210 points
1,125 views
0 votes
1 answer

Hyperledher: How to convert formControlName value to JSON Format?

<textarea [ngModel]="offers[0] | json" formControlName="offers" class="form- ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,210 points
926 views
0 votes
1 answer

Error With Rest Server: HyperLedger

It's a trivial issue mate - you're ...READ MORE

Nov 9, 2018 in Blockchain by Christine
• 15,790 points
841 views
0 votes
1 answer

Hyperledger Fabric query system chaincode using node SDK

The Fabric Node SDK actually provides a ...READ MORE

Nov 9, 2018 in Blockchain by Christine
• 15,790 points
1,014 views
0 votes
2 answers

Hyperledger Fabric: invokeChaincode returns [Object object]

Replace  return shim.success(valString); with: return shim ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
825 views
0 votes
1 answer

Hyperledger Composer: How to update a contract after it is saved?

Try this and see if this works: /** * ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
540 views
0 votes
2 answers

Hyperledger Composer: Adding a new peer: failed to create a new connection: context deadline exceeded.

Seems like peer address problem. Set the ...READ MORE

May 6, 2019 in Blockchain by Tina
3,468 views
0 votes
1 answer

Hyper Fabric: Error: CONNECTION_FAILED. Description: dialing connection timed out

The mapping is not set up right. ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
2,518 views
0 votes
1 answer

Hyperledger Fabric: How to give full read access to all participants?

To do this, you must first provide ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
1,081 views
0 votes
1 answer

Hyperledger Composer: How to query using string?

You can try this: query selectReading { ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
384 views
0 votes
1 answer

Hyperledger Fabric: Kafka can not establish a connection

Try this:  kafka1.hyperfabric.xyz: image: hyperledger/fabric-kafka restart: ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
1,355 views
0 votes
1 answer

Hyperledger Fabric: How to ping network using program?

// http://nodejs.org/api.html#_child_processes var sys = require('sys') var exec = ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
925 views
0 votes
1 answer

Hyperldger: Hyperledger Explorer not starting. Throws error

in "network-config" you should use lowercase 'org1' { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,210 points
2,105 views
0 votes
1 answer

Hyperledger Fabric: How to retrieve result from Fabric Transaction?

invokeChainCode(securityContext, functionName, args, options) { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,210 points
1,634 views