Most viewed questions in Blockchain

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,230 points
2,787 views
0 votes
1 answer

How to solve “More than one instance of bitcore-lib found” error?

There is a temp solution here. ~/bitcore-explorers/node_modules/bitcore-lib/index.js line 7: bitcore.versionGuard ...READ MORE

Jul 25, 2018 in Blockchain by slayer
• 29,370 points
2,766 views
0 votes
2 answers

Truffle compile/migrate not working

In my case, use sudo command. truffle compile ...READ MORE

Feb 20, 2019 in Blockchain by byoul
2,756 views
0 votes
1 answer

How to interact with smart contract in GO?

I am providing an example. Modify it ...READ MORE

Jul 26, 2018 in Blockchain by digger
• 26,740 points
2,752 views
+1 vote
1 answer

How does a miner get to know that a transaction is verified by all the nodes?

Contrary to the popular belief, it is ...READ MORE

Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
2,748 views
0 votes
1 answer

How can I deploy a HelloWorld contract on my testrpc network?

The problem lies in the command: truffle migrate Your truffle migrate command ...READ MORE

Apr 27, 2018 in Blockchain by Perry
• 17,100 points

edited Aug 10, 2018 by Omkar 2,745 views
+1 vote
4 answers

What is hf.Registrar.Roles in fabric-ca-client command?

The "hf.Registrar.Roles" attribute is used to control ...READ MORE

Jul 11, 2018 in Blockchain by slayer
• 29,370 points
2,742 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,740 points
2,725 views
+1 vote
1 answer

Which data structure to prefer to model a blockchain?

To start with, let me tell you ...READ MORE

Apr 21, 2018 in Blockchain by Perry
• 17,100 points
2,722 views
0 votes
1 answer
0 votes
1 answer

REQUEST_TIMEOUT error in Hyperledger Fabric, Linux

My docker version was 1.7. And its ...READ MORE

Jul 6, 2018 in Blockchain by Christine
• 15,790 points
2,714 views
0 votes
1 answer

Using json rpc with curl on java?

Quoting different pieces the way you're doing ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,230 points
2,683 views
0 votes
1 answer

How to retrieve data from an Ethereum Block?

To get transaction details like Block Hash ...READ MORE

Jul 19, 2018 in Blockchain by Perry
• 17,100 points
2,675 views
+1 vote
3 answers

How to resolve the hyperledger fabric versions set up?

How to simple way to upgrade the ...READ MORE

Dec 18, 2018 in Blockchain by anonymous
2,673 views
0 votes
1 answer

How to manually create the instance of the contract in truffle?

You can try to do it like ...READ MORE

Sep 24, 2018 in Blockchain by slayer
• 29,370 points
2,670 views
+1 vote
1 answer

Hyperledger fabric java sdk setup

Suppose (assuming) you started the first network ...READ MORE

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

Add Peers does not add a peer in Geth console

Setup actual boot node, don't treat base ...READ MORE

Sep 28, 2018 in Blockchain by slayer
• 29,370 points
2,666 views
0 votes
1 answer

How to “unrecognized import path error” while using go for hyperledger fabric?

The solution to this problem is as ...READ MORE

Jul 27, 2018 in Blockchain by slayer
• 29,370 points
2,663 views
0 votes
1 answer

What does _ mean in solidity language?

The _ symbol is a place holder. ...READ MORE

Aug 10, 2018 in Blockchain by digger
• 26,740 points
2,652 views
0 votes
1 answer

What is geth and solidity in Blockchain?

geth is a tool used to run a ...READ MORE

Jun 11, 2019 in Blockchain by Rishi
2,634 views
0 votes
1 answer

Getting “web3.eth.filter is not a function” while trying to monitor Ethereum blocks

It appears you are using web3.js v1.0. ...READ MORE

Oct 9, 2018 in Blockchain by Omkar
• 69,230 points
2,627 views
0 votes
1 answer

How to solve rpc error: code = Unknown desc = timeout expired while starting chaincode error?

In the peer configuration, the port you ...READ MORE

Aug 8, 2018 in Blockchain by digger
• 26,740 points
2,625 views
0 votes
1 answer

How do I withdraw the balance from a contract on Ethereum test blockchain?

Your need to improvise your code a ...READ MORE

Aug 3, 2018 in Blockchain by Perry
• 17,100 points
2,624 views
0 votes
1 answer

How to visualize real-time data candlestick chart for cryptocurrencies?

Take a look at https://github.com/highfestiva/finplot. Where you can ...READ MORE

Apr 7, 2022 in Blockchain by Rahul
• 9,680 points
2,618 views
0 votes
1 answer

How to make Observable from callback?

RxJS includes a bindNodeCallback observable creator specifically for creating ...READ MORE

Oct 1, 2018 in Blockchain by digger
• 26,740 points
2,614 views
+4 votes
2 answers

I am unable to connect Ganache with Truffle/Npm Dev server. Pls help.

The issue is at CurrentProvider. Give the url ...READ MORE

Mar 26, 2018 in Blockchain by Perry
• 17,100 points

edited Oct 11, 2018 by Omkar 2,605 views
0 votes
3 answers

Hyperledger-fabric not working with docker swarm

The issue is that the chaincode container ...READ MORE

Aug 21, 2018 in Blockchain by Perry
• 17,100 points
2,600 views
0 votes
1 answer

403 forbidden error coinbase api

I had a similiar issue connecting this API, ...READ MORE

Aug 28, 2018 in Blockchain by digger
• 26,740 points
2,589 views
0 votes
1 answer

geth attach command showing error: bind: address already in use

Seems like there is already a geth instance ...READ MORE

Jan 16, 2019 in Blockchain by Omkar
• 69,230 points
2,586 views
+4 votes
4 answers

How does the blockchain verification process work?

First of all, when someone creates a ...READ MORE

Mar 26, 2018 in Blockchain by Perry
• 17,100 points
2,578 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,569 views
0 votes
1 answer

How to generate Bitcoin address in Ruby?

In your generate_address_from_public_key_hash method, the checksum should be over ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,370 points
2,569 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

Oct 11, 2018 in Blockchain by Sahu
2,567 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
• 69,230 points
2,564 views
0 votes
1 answer

eth.getBalance() always returns 0 in testnet

You are not connecting to the right ...READ MORE

Jul 24, 2018 in Blockchain by Christine
• 15,790 points
2,561 views
0 votes
1 answer

How can I create an online wallet without any 3rd party API on my PHP server?

With any approach, you need a bitcoin ...READ MORE

Aug 30, 2018 in Blockchain by Perry
• 17,100 points
2,536 views
0 votes
1 answer

Cannot download nvm install v.8.9.1 version - clang checksum do not match, sed issue

Try a clean install of node again npm ...READ MORE

Jul 25, 2018 in Blockchain by charlie_brown
• 7,720 points
2,520 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
2,515 views
0 votes
1 answer

How to call a payable contract function from truffle console?

You can use a contract function, on ...READ MORE

Jan 24, 2019 in Blockchain by Omkar
• 69,230 points
2,510 views
+1 vote
0 answers

Can't call contract function in Remix in Web3 provider mode, but it works in Javascript VM

A simple contract for addition, an error ...READ MORE

Jun 15, 2019 in Blockchain by XHQ
2,508 views
0 votes
1 answer

How to extract h160 address of bitcoin blockchain?

You can extract the data using the ...READ MORE

Jul 16, 2018 in Blockchain by digger
• 26,740 points
2,508 views
0 votes
1 answer

Error using EtherJS: this.provider.getTransactionCount is not a function

With this line it should work fine: wallet.provider ...READ MORE

Sep 26, 2018 in Blockchain by digger
• 26,740 points
2,494 views
–1 vote
1 answer

Geth miner not working

Hi. miner.start() gives no output. So, when the output ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,230 points
2,483 views
0 votes
1 answer

What is the format for crypto-config.yaml and configtx.yaml in Hyperledger Fabric?

You can find the details you want ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,370 points
2,476 views
0 votes
1 answer

Why am I not getting 100 ethers in my metamask account?

Sorry that you're having this problem. To ...READ MORE

Jun 14, 2018 in Blockchain by Christine
• 15,790 points
2,473 views
0 votes
1 answer

Coinbase API v2 Getting Historic Price for Multiple Days

Any reason you aren't using coinbase pro? The ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,710 points
2,471 views
0 votes
1 answer

Hyperledger Fabric CA "Failed to get user: User not found"

The problem could be because of the ...READ MORE

Jul 23, 2018 in Blockchain by digger
• 26,740 points
2,462 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
• 69,230 points
2,459 views
0 votes
1 answer

How to connect a NS3 node to my local blockchain?

To connect all your nodes with all ...READ MORE

Jul 25, 2018 in Blockchain by digger
• 26,740 points
2,459 views
0 votes
1 answer

How to get the already existing channels in Hyperledger v1.0?

You cannot see all available channels,  but you ...READ MORE

Jun 4, 2018 in Blockchain by Perry
• 17,100 points
2,459 views