Most voted questions in Blockchain

+1 vote
3 answers

Hyperledger Java SDK Client Event Listener to register and listen Blocks

First add the eventhub, and then  register ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,230 points
3,247 views
+1 vote
4 answers

Hyperledger: Cannot compile chaincode, cannot find package error

As the error says, it cant find ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 69,230 points
12,606 views
+1 vote
5 answers

Hyperledger Fabric: Error cryptogen tool

I got same error on Windows.  The solution ...READ MORE

Oct 25, 2018 in Blockchain by Mahesh
3,414 views
+1 vote
4 answers

Installing Nodejs: sh: node: command not found error

You have to first install nodejs and ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,230 points
25,571 views
+1 vote
3 answers

Not able to read a file from my assets folder

Hi.. I faced a similar problem in ...READ MORE

Oct 25, 2018 in Blockchain by Shrikanth
6,884 views
+1 vote
1 answer

Using bccsp instance from chaincode

You can take a look at this code snippet. ...READ MORE

Oct 22, 2018 in Blockchain by Christine
• 15,790 points
730 views
+1 vote
1 answer

Return array of struct from a solidity function: "Expected type name function getPurchaseOrderForVendor" error

There's a typo in your code. The ...READ MORE

Oct 17, 2018 in Blockchain by Christine
• 15,790 points
5,088 views
+1 vote
2 answers

Integrating web3 from Metamask: "ReferenceError: window is not defined" error

You can't use MetaMask on server-side because ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,230 points
6,943 views
+1 vote
3 answers

Pass parameter as bytes32 to Solidity Smart Contract

Use the common.HexToHash package and pass the string ...READ MORE

Sep 19, 2019 in Blockchain by Grashias

edited Sep 19, 2019 by Omkar 9,604 views
+1 vote
1 answer

Deploy contract using solcjs

Try to add some typo and run ...READ MORE

Sep 26, 2018 in Blockchain by slayer
• 29,370 points
994 views
+1 vote
1 answer

Calling deployed smart contract from node.js

contractInstance.wakeUp.call is calling the function as constant, but ...READ MORE

Sep 26, 2018 in Blockchain by digger
• 26,740 points
3,923 views
+1 vote
1 answer

Solidity: Sending ERC20 Tokens

You can try this code transferTokensTo: function(contract, address_from, ...READ MORE

Sep 26, 2018 in Blockchain by slayer
• 29,370 points
1,534 views
+1 vote
3 answers

What is the pattern for handling throw on a Solidity contract in tests

In my opinion the cleanest way is: it("should ...READ MORE

Sep 25, 2018 in Blockchain by Lupin
1,760 views
+1 vote
1 answer

Ethereum vs Hyperledger: Which is better for business networks?

Hyperledger is preferred for B2B business and ...READ MORE

Sep 20, 2018 in Blockchain by digger
• 26,740 points
601 views
+1 vote
1 answer

Can't instantiate any chaincodes on peers of newly Added org

Seems like chaincode install may have been unsuccessful. Before ...READ MORE

Sep 20, 2018 in Blockchain by Perry
• 17,100 points
2,090 views
+1 vote
2 answers

Peer chaincode instantiation timeout expired

Hey, i think you made a slight ...READ MORE

Sep 19, 2018 in Blockchain by digger
• 26,740 points
3,266 views
+1 vote
3 answers

Removing double quotes from a string from JSON response in PHP

Just remove the json_encode call, and it should work: $resp ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
45,055 views
+1 vote
1 answer

How do I use ZF2 I18n currencyformatter to format bitcoin?

From ZF2's documentation at http://framework.zend.com/manual/2.3/en/modules/zend.i18n.view.helpers.html I found the following ...READ MORE

Sep 10, 2018 in Blockchain by digger
• 26,740 points
464 views
+1 vote
1 answer

Node.js API wrapper for altcoin exchange

In order to pass these variables to ...READ MORE

Sep 10, 2018 in Blockchain by digger
• 26,740 points
598 views
+1 vote
1 answer

Unable to convert variable to GMP when initializing Bitpay client class (Laravel)

Bitpay automatically uses the encrypted file store, ...READ MORE

Sep 10, 2018 in Blockchain by slayer
• 29,370 points
1,065 views
+1 vote
1 answer

Node.js blockchain bitcoin api

The callback URL should be the one ...READ MORE

Sep 10, 2018 in Blockchain by slayer
• 29,370 points
1,006 views
+1 vote
3 answers

HTML Bitcoin address parsing using Beautiful soup

Regex is not meant for parsing. As ...READ MORE

Sep 5, 2018 in Blockchain by Lewis
1,617 views
+1 vote
1 answer

Need to convert bitcoin address function from php to Jquery

Use AJAX. It will be easier to ...READ MORE

Sep 5, 2018 in Blockchain by digger
• 26,740 points
618 views
+1 vote
3 answers

Pass all .dat files in folder to function

os.listdir(path) return names, not fullpaths change parseBlockFile(file) to fullpath = os.path.join(path,file) if os.path.isfile(fullpath) ...READ MORE

Sep 5, 2018 in Blockchain by Saygum
2,288 views
+1 vote
1 answer

Is there a way to send funds from a specific bitcoin address in a wallet?

I'll answer my own question, It was unbelievably ...READ MORE

Sep 3, 2018 in Blockchain by Perry
• 17,100 points
1,392 views
+1 vote
3 answers

How to convert timestamp to readable format in blockchain.info?

You are talking about the block_time property ...READ MORE

Apr 29, 2019 in Blockchain by Raghu
10,560 views
+1 vote
1 answer

Getting Hash160 bitcoin address in python

There is a package to decode and ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,370 points
3,793 views
+1 vote
1 answer

Coinbase API: Get transaction fees

The Coinbase "fee" is the difference between ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
1,676 views
+1 vote
2 answers

Hex to ASCII conversion shows wrong result.

Hey, I use the following code: public static ...READ MORE

Aug 21, 2018 in Blockchain by Omkar
• 69,230 points
1,896 views
+1 vote
1 answer

How to generate Bitcoin address?

Convert the hex string back to bytes ...READ MORE

Aug 20, 2018 in Blockchain by slayer
• 29,370 points
1,086 views
+1 vote
1 answer

How to create participant and there identities via rest API in Hyperledger Composer?

If you have already imported an Identity ...READ MORE

Aug 10, 2018 in Blockchain by Perry
• 17,100 points
2,400 views
+1 vote
1 answer

Is it possible to exchange the token for other tokens we create in an Ethereum Smart Contract?

Yes you can do that through something ...READ MORE

Aug 10, 2018 in Blockchain by Perry
• 17,100 points
843 views
+1 vote
1 answer

How do i add images in Hyperledger?

You can not directly add an image ...READ MORE

Aug 10, 2018 in Blockchain by Omkar
• 69,230 points
918 views
+1 vote
1 answer

Can one pay ICO's token to an ICO consultant?

It is in fact possible to programmatically ...READ MORE

Aug 6, 2018 in Blockchain by Perry
• 17,100 points
747 views
+1 vote
4 answers

Trying to connect to Cryptocompare's websocket stream using socketIO from a Python client

The reason might be that the the socketio ...READ MORE

Aug 6, 2018 in Blockchain by Perry
• 17,100 points
3,435 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,333 views
+1 vote
1 answer

Error attempting installing ethermint

I faced the same issue. Here's where ...READ MORE

Aug 2, 2018 in Blockchain by Christine
• 15,790 points
779 views
+1 vote
1 answer

How do I check the history of my ethereum wallet using blockchain API?

f I understand well, you're looking for ...READ MORE

Aug 2, 2018 in Blockchain by Christine
• 15,790 points
2,236 views
+1 vote
8 answers

How to solve “x509: ECDSA verification failure” error?

Before you execute the  composer runtime install -c ...READ MORE

Jul 30, 2018 in Blockchain by digger
• 26,740 points
8,733 views
+1 vote
2 answers

How to get airdropped tokens to Ethereum wallet?

You also can use Frewallet This wallet is ...READ MORE

Dec 20, 2019 in Blockchain by anonymous
• 160 points
1,124 views
+1 vote
2 answers

Can I invoke a chaincode function from the chaincode itself?

Here's an example on how you can ...READ MORE

May 7, 2019 in Blockchain by Shir
3,375 views
+1 vote
3 answers

How to solve “Module not found: Error: Can't resolve 'truffle-contract'” error in web3?

Try compiling and migrating the contract: $ truffle ...READ MORE

Apr 30, 2019 in Blockchain by Rachita
7,557 views
+1 vote
1 answer

How to change ports through which hyperledger composer installs runtime?

To change the port you have to ...READ MORE

Jul 25, 2018 in Blockchain by slayer
• 29,370 points
1,087 views
+1 vote
1 answer

Can I setup hyperledger composer on multiple nodes?

To deploy your network on multiple nodes, ...READ MORE

Jul 25, 2018 in Blockchain by digger
• 26,740 points
1,515 views
+1 vote
2 answers

How to configure Endorsement policy in Hyperledger?

The Hyperledger Fabric Endorsement policy is configured ...READ MORE

Jul 25, 2018 in Blockchain by slayer
• 29,370 points
3,266 views
+1 vote
1 answer

Ethereum Error: authentication needed: password or unlock

First, make sure you have an account. web3.personal.listAccounts If ...READ MORE

Aug 8, 2018 in Blockchain by Omkar
• 69,230 points
5,190 views
+1 vote
2 answers

Using Composite Key formation to get states for a date range in Hyperledger Fabric V1.0

I think you have found a partial ...READ MORE

Jul 20, 2018 in Blockchain by charlie_brown
• 7,720 points
4,738 views
+1 vote
1 answer

How to perform a simple 1-to-1 Bitcoin Transaction with Bitcore?

What is the argument utxos int the ...READ MORE

Jul 20, 2018 in Blockchain by charlie_brown
• 7,720 points
2,127 views
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

Jul 16, 2018 in Blockchain by slayer
• 29,370 points
11,844 views
+1 vote
2 answers

How to solve Hyperledger Fabric "error endorsing chaincode" error?

Try to install chaincode with a name ...READ MORE

Jul 13, 2018 in Blockchain by digger
• 26,740 points
4,596 views