Most viewed questions in Blockchain

+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,658 views
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,649 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,639 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,635 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,634 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,629 views
0 votes
1 answer
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,612 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,680 points
2,607 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,606 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,605 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,360 points
2,599 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,585 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,360 points
2,573 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,569 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,559 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,360 points
2,553 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,539 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,533 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,520 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,512 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,494 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,493 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,486 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,484 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,360 points
2,478 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,473 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,469 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,464 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,454 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,452 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,452 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,452 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,450 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,433 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,360 points
2,426 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,418 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,416 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,412 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,404 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,393 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,389 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,360 points
2,383 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,381 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,380 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,380 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,376 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,364 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,363 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,361 views