Most viewed questions in Blockchain

+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,602 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,595 views
0 votes
1 answer
0 votes
1 answer

Is there a way to get the market cap or market cap rank of a coin using the Binance API?

This is how I did so: https://www.binance.com/exchange-api/v2/public/asset-service/product/get-products Get this ...READ MORE

Apr 6, 2022 in Blockchain by Aditya
• 7,680 points
2,583 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,580 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,579 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,350 points
2,573 views
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,569 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,566 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,543 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,350 points
2,537 views
0 votes
1 answer

Key differences between Amazon Managed Blockchain and Quantum Ledger Database (QLDB)?

Put simply, Amazon Managed Blockchain is a ...READ MORE

Mar 24, 2022 in Blockchain by Rahul
• 9,670 points
2,517 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,516 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,350 points
2,514 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,514 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,350 points
2,495 views
0 votes
1 answer

Is it possible to set up bots for BitCoin faucet websites?

I managed to create a bot for ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,700 points
2,493 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,492 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,473 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,469 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,464 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,456 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,453 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,447 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,438 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,434 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,421 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,421 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,421 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,420 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,414 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,350 points
2,411 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,410 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,670 points
2,408 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,399 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,350 points
2,383 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,370 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,364 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,359 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,355 views
0 votes
1 answer

Hyperledger Composer: Error: Error trying to start business network. Error: No valid responses from any peers.

You have to configure TLS in peers ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,230 points
2,347 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,346 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,341 views
0 votes
1 answer

ERROR: for cli UnixHTTPConnectionPool(host='localhost, port=None) Read time out log_timeout_error()

Can't give proper solution without knowing what ...READ MORE

May 15, 2019 in Blockchain by Rishi
2,337 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,335 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,330 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,350 points
2,330 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,328 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,327 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,305 views