Most viewed questions in Blockchain

–1 vote
1 answer

Problem adding peers to Ethereum private network

Seems like you have not created the ...READ MORE

Jan 22, 2019 in Blockchain by Omkar
• 68,840 points
337 views
0 votes
1 answer

Send Payment error in Blockchain API

The following code should help: $address = null; try ...READ MORE

Jul 6, 2018 in Blockchain by Perry
• 17,090 points
336 views
0 votes
1 answer

How to plug MSP,Consensus, Ordering service in Hyperledger Fabric?

To plug in MSP: Implement your own MSP ...READ MORE

Jun 27, 2018 in Blockchain by Omkar
• 68,840 points
336 views
0 votes
1 answer

Hyperledger composer: Not able to issue identities from a Business network.

To specify your own affiliation you need ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 68,840 points
333 views
0 votes
1 answer

how do we register our assets in hyperledger?

First of all, the chaincode (or smart ...READ MORE

May 25, 2018 in Blockchain by Johnathon
• 9,090 points
333 views
0 votes
1 answer

Error: t: Instance org.acme.seller.Car#HW7722 missing required field oldOwner

This error occurs if you have added a ...READ MORE

Jun 21, 2018 in Blockchain by Christine
• 15,810 points

edited Jun 21, 2018 by Christine 328 views
0 votes
1 answer

Hyperledger fabcar: node enrollAdmin.js error

Update the node: npm rebuild and then run ...READ MORE

Oct 26, 2018 in Blockchain by anonymous
327 views
0 votes
1 answer

Bitcoinjs-lib getAddress not a function error

You need to pass network parameter to ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,260 points
327 views
0 votes
3 answers

String conversion to Array in Solidity

There is no built-in method/function for this ...READ MORE

Oct 3, 2018 in Blockchain by Charlie
326 views
0 votes
2 answers

Check Bitcoin Balance with mybitx api https GET url

You can use the PHP Requests library for an ...READ MORE

Sep 17, 2018 in Blockchain by Lalit
326 views
0 votes
1 answer

Is there a way to get a trade history report from the Bitfinex API?

You can still fetch your private trades ...READ MORE

Aug 29, 2018 in Blockchain by Perry
• 17,090 points
326 views
0 votes
1 answer

“Error getting chaincode package bytes” when deploying chaincode on hyperledger via REST

Considering that you are playing with Bluemix ...READ MORE

Aug 3, 2018 in Blockchain by charlie_brown
• 7,720 points
326 views
+1 vote
1 answer

I am unable to change port of composer-rest-server. Please help!

Use full format for running a business ...READ MORE

Mar 27, 2018 in Blockchain by Christine
• 15,810 points
326 views
0 votes
1 answer

How to get TimeStamps in Hyperledger Composer?

Here's an example that works with basic-sample-network network: asset SampleAsset ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 68,840 points
325 views
0 votes
1 answer

Truffle Compile failing, ParserError: Expected token LParen got Identifier function

Your parentheses are mismatched. pragma solidity ^0.4.17; import "truffle/Assert.sol"; import ...READ MORE

Oct 9, 2018 in Blockchain by Omkar
• 68,840 points
325 views
0 votes
1 answer

eth.getTransactionReceipt returns null

It looks like there's an issue with ...READ MORE

Sep 25, 2018 in Blockchain by slayer
• 29,260 points
325 views
0 votes
1 answer

Error while generating smart contracts which returns array of struct in Web3j v3.3.1

Solidity does not support returning structs in ...READ MORE

Jul 26, 2018 in Blockchain by Perry
• 17,090 points
325 views
0 votes
1 answer

How to send chaincode error to the calling application?

To pass message all the way to ...READ MORE

Jul 6, 2018 in Blockchain by digger
• 26,660 points
325 views
0 votes
1 answer

How to access bitcoin Daemon from other services?

You don't need all these things to ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,660 points
324 views
0 votes
1 answer

Python Script to pull data from Blockchain JSON

Try this: print r.json()['address'],' has ', r.json()['n_tx'], 'tra ...READ MORE

Sep 14, 2018 in Blockchain by digger
• 26,660 points
323 views
0 votes
1 answer

"[RuntimeException] The "-t" option does not exist" error in Hyperledger composer.

This command runs on composer-cli. Have you ...READ MORE

Nov 21, 2018 in Blockchain by Omkar
• 68,840 points
322 views
0 votes
1 answer

How to solve “network state unknown. Review successful transactions manually” error?

There seems to be error in the ...READ MORE

Jul 27, 2018 in Blockchain by digger
• 26,660 points
321 views
+1 vote
2 answers

Not able to install Solidity in Ubuntu

As far as I can understand the ...READ MORE

Nov 26, 2019 in Blockchain by DeadShotOne96
320 views
0 votes
1 answer

Private ethereum network can not find geth.ipc

If you have initialized the genesis block ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 68,840 points
320 views
0 votes
1 answer

Hyperledger Blockchain Explorer “'Error: no test specified' ” error

You have run the npm install command ...READ MORE

Aug 9, 2018 in Blockchain by digger
• 26,660 points
320 views
0 votes
1 answer

Command "network" is not defined. in hyperledger composer

For composer network to work, you must ...READ MORE

Nov 21, 2018 in Blockchain by Omkar
• 68,840 points
319 views
0 votes
1 answer

Why do I require fabric-kafka and fabric-order containers in same network?

There are three ordering services, as you ...READ MORE

Dec 5, 2018 in Blockchain by Perry
• 17,090 points
318 views
0 votes
1 answer

How is storage space handled in hyperledger peer?

Every transaction is not stored by every ...READ MORE

May 11, 2018 in Blockchain by anonymous
318 views
0 votes
1 answer

Hyperledger Composer: not able to install Hyperledger composer-cli

Try setting the PATH like this, export PATH="/usr/local/share/npm/bin:$PATH" Now run the ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 68,840 points
317 views
0 votes
1 answer

Python Double hash SHA256

You can get the given hash by ...READ MORE

Aug 29, 2018 in Blockchain by slayer
• 29,260 points
316 views
0 votes
1 answer

How can i create a simple P2P network on a blockchain?

To develop your own cryptocurrency, you need ...READ MORE

Apr 20, 2018 in Blockchain by Christine
• 15,810 points
316 views
0 votes
1 answer

How to solve “Error: Expected a Resource or Concept”?

There are few errors in code. I ...READ MORE

Jul 31, 2018 in Blockchain by slayer
• 29,260 points
315 views
0 votes
0 answers

Cannot create genesis block?

When I try to create a genesis block ...READ MORE

Feb 27, 2019 in Blockchain by Tharindu
• 170 points

edited Feb 28, 2019 by Omkar 313 views
0 votes
1 answer

Cant get a specific value in JSON/PHP

Convert the json-string to a php-array and ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,260 points
313 views
0 votes
1 answer

Ethereum smart contract event trigger notification

I have an example here for web3js ...READ MORE

Aug 1, 2018 in Blockchain by slayer
• 29,260 points
313 views
0 votes
1 answer

Geth account password on command line

You've got the following two ways to create ...READ MORE

May 29, 2018 in Blockchain by Perry
• 17,090 points
312 views
0 votes
1 answer

Ethereum solidity: Unable to get value from another contract

I have faced similar issues when compiling ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 68,840 points
309 views
0 votes
1 answer

Error when trying to deploy Ethereum smart contract using web3j

Create a new credential based on the Credentials.create ...READ MORE

Oct 3, 2018 in Blockchain by slayer
• 29,260 points
308 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
• 68,840 points
307 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,810 points
307 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
• 68,840 points
306 views
0 votes
1 answer

Ethereum Node Connection: TypeError: Cannot read property 'version' of undefined

In the code that you are using ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 68,840 points
306 views
0 votes
1 answer

How to define the path to hyperledger-fabric chaincode?

You can find that in docker-compose files ...READ MORE

Oct 4, 2018 in Blockchain by Perry
• 17,090 points
306 views
0 votes
1 answer

How to get all address and send ethers in solidity using a loop?

I found a similar code somewhere: contract  Holders{ uint ...READ MORE

Jul 31, 2018 in Blockchain by digger
• 26,660 points
306 views
+1 vote
1 answer

hyperledger fabric: can't find package: github.com/pkg/errors in GOPATH or GOROOT

Hey @aiga, try to add the package ...READ MORE

Aug 5, 2019 in Blockchain by Esha
303 views
0 votes
1 answer

How do I start mining on my private chain?

You could try deleting the datadir/.etash and ...READ MORE

Jul 13, 2018 in Blockchain by Christine
• 15,810 points
300 views
0 votes
1 answer

how to get the information of asset created in hyperledger composer in case of with out transaction?

First, get the list of all existing ...READ MORE

Mar 13, 2019 in Blockchain by Omkar
• 68,840 points
299 views
0 votes
1 answer

Hyperledger Composer: Query using relation

 you need to refer to your specific ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 68,840 points
299 views
0 votes
1 answer

Blockchain secret sharing

Blockchain has many methods to provide data ...READ MORE

Feb 12, 2019 in Blockchain by Omkar
• 68,840 points
298 views
0 votes
1 answer

Can’t find value for key while using CouchDB for Fabric.

In the output you have mentioned: {   "id": ...READ MORE

Jul 31, 2018 in Blockchain by slayer
• 29,260 points
298 views