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,210 points
2,861 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,210 points
11,931 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,095 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,210 points
24,937 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,445 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
576 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
4,875 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,210 points
6,544 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,051 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,350 points
836 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,630 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,350 points
1,419 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,522 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
510 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
1,813 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,037 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
43,813 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
340 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
504 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,350 points
900 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,350 points
872 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,308 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
451 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,021 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,228 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
9,936 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,350 points
3,367 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,210 points
1,667 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,350 points
823 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,190 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
646 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,210 points
760 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
569 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
2,957 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,450 points
1,129 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
569 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
1,970 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,089 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
804 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
2,975 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,073 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,350 points
775 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,197 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,350 points
2,887 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,210 points
4,953 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,262 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
1,943 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,350 points
11,274 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,248 views
+1 vote
4 answers

How to connect peers to a private network using geth?

Follow the below steps to connect peers ...READ MORE

Jul 13, 2018 in Blockchain by slayer
• 29,350 points
13,321 views