Most viewed questions in Blockchain

0 votes
1 answer

Intrinsic gas too low and exceeds block limit

If you are talking about the public ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,740 points
3,425 views
+1 vote
4 answers

What is the asset, key-value pair in hyperledger fabric?

Let me explain with an example. Suppose ...READ MORE

May 2, 2019 in Blockchain by Kiran
3,420 views
+1 vote
1 answer

How to write an ERC 721 contract?

You could go through the following links:  https://github ...READ MORE

Jun 28, 2018 in Blockchain by Perry
• 17,100 points
3,418 views
0 votes
1 answer

Converting 5e-08 to decimal in PHP

Use printf with the appropriate format specifier: printf("%.8f", 5 / ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
3,414 views
0 votes
1 answer

Install testrpc on Windows

You can not directly install testrpc on ...READ MORE

Feb 28, 2019 in Blockchain by Piyush
3,405 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
3,404 views
0 votes
1 answer

How to Check if string is in list in javascript?

At first, make sure that the string ...READ MORE

Sep 19, 2018 in Blockchain by slayer
• 29,370 points
3,398 views
0 votes
1 answer

How do display all the events logs from a smart contract?

You'll need to watch the events. const filter ...READ MORE

Oct 3, 2018 in Blockchain by digger
• 26,740 points
3,389 views
0 votes
2 answers

Hyperledger Fabric: Channel creation failed! FAILED to execute End-2-End Scenario

This error usually occurs if some old ...READ MORE

May 8, 2019 in Blockchain by John
3,381 views
0 votes
1 answer

How to install Ethereum on Windows?

Download geth installer from https://geth.ethereum.org/downloads/ After download, run ...READ MORE

Feb 28, 2019 in Blockchain by Raj
3,355 views
0 votes
2 answers

how to integrate coinbase api in php for transfer bitcoine

Here the code for php please have ...READ MORE

Sep 17, 2018 in Blockchain by Suresh
3,343 views
0 votes
1 answer

How to deploy hyperledger fabric in production level?

Once you set up the Fabric, bring ...READ MORE

Aug 2, 2018 in Blockchain by aryya
• 7,460 points
3,337 views
0 votes
2 answers

Web socket API session automatically disconnecting

Yes, the code given by Christine works! ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,740 points
3,334 views
0 votes
1 answer

Error while sending an address to functions

In solidity 0.5.0 (and above) there are ...READ MORE

Jan 23, 2019 in Blockchain by Omkar
• 69,220 points
3,324 views
0 votes
1 answer

How to get IP address of peer connected in private ethereum network?

Could you share what you have done ...READ MORE

Mar 24, 2021 in Blockchain by Arafat

edited Mar 5 3,323 views
0 votes
2 answers

Truffle compile: Cant find module error

You can install babel-register and try again. ...READ MORE

Feb 19, 2019 in Blockchain by Loki
3,323 views
0 votes
1 answer

Web3j Transfer.sendFunds() returns Error “insufficient funds for gas * price + value”

DISCLAIMER. This may not necessarily be an answer to your ...READ MORE

Jun 16, 2018 in Blockchain by charlie_brown
• 7,720 points
3,308 views
0 votes
1 answer

'ppa:ethereum' error while installing ethereum on ubuntu

First try: sudo apt-get install --reinstall ca-certificates If ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,370 points
3,301 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
3,295 views
+1 vote
2 answers

Where is custom chaincode path Hyperledger Fabric 1.0?

You have to have your chaincode at ...READ MORE

Jul 10, 2018 in Blockchain by slayer
• 29,370 points
3,294 views
0 votes
1 answer

Getting Invalid number of parameters for “undefined” when deploying smart contract

Try something like this for contracts that ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,220 points
3,292 views
0 votes
1 answer

Can't call contract function in truffle console

Inspect the object adoption within the console. You will ...READ MORE

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

Access multiple return values (a, b, c) from solidity function in web3js

You'll get an array of return values ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,370 points
3,279 views
0 votes
1 answer

Installing Solidity on Linux

You can install Solidity Compiler on Linux ...READ MORE

Feb 28, 2019 in Blockchain by Reshma
3,267 views
+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

Jun 13, 2018 in Blockchain by Perry
• 17,100 points
3,267 views
+1 vote
4 answers

What role does Orderer peer serves in Hyperledger Fabric??

Shared communication channel to clients and peers ...READ MORE

Apr 12, 2018 in Blockchain by Johnathon
• 9,090 points
3,265 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 3,261 views
0 votes
1 answer

HyperLedger Fabric and Multichain - difference & different use cases

MULTICHAIN: It is a Permissioned Blockchain. It doesn't implement ...READ MORE

Dec 28, 2018 in Blockchain by Omkar
• 69,220 points
3,257 views
0 votes
2 answers

UnicodeDecodeError: 'utf-8' codec can't decode byte (python)

I found a python rpc library for ...READ MORE

Sep 4, 2018 in Blockchain by Piston
3,256 views
0 votes
1 answer

Solidity invalid opcode error

In the for loop, your indexing going ...READ MORE

Aug 16, 2018 in Blockchain by slayer
• 29,370 points
3,254 views
0 votes
2 answers

How to use multiple anchor peers in an organization?

To use multiple anchor peers, you need ...READ MORE

Jul 10, 2018 in Blockchain by digger
• 26,740 points
3,253 views
+2 votes
3 answers

Can multi-channels be supported by Hyperledger in one peer?

Yes you can run  multiple chains on ...READ MORE

Apr 11, 2018 in Blockchain by Perry
• 17,100 points
3,249 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
3,240 views
0 votes
1 answer

How to get sender bitcoin address from transaction ID?

 You can use any scripting language with ...READ MORE

Apr 12, 2022 in Blockchain by Rahul
• 9,680 points
3,221 views
+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

Apr 29, 2019 in Blockchain by Tina
3,217 views
0 votes
1 answer

How do I initialize an array in a struct

You need to manually change the length ...READ MORE

Oct 1, 2018 in Blockchain by Perry
• 17,100 points
3,214 views
0 votes
1 answer

How to convert byte array to hex string?

You are missing the padding in the ...READ MORE

Aug 17, 2018 in Blockchain by slayer
• 29,370 points
3,214 views
0 votes
1 answer

How to add peer to ethereum private network?

To connect a node to already existing ...READ MORE

Jan 22, 2019 in Blockchain by Omkar
• 69,220 points
3,200 views
0 votes
1 answer

Web-scraping from Coinbase with Python (Pycharm)

Data that you want to scrape is ...READ MORE

Sep 4, 2018 in Blockchain by digger
• 26,740 points
3,199 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
3,183 views
0 votes
1 answer

How to set the hex-encoded data field in a Web3j Ethereum transaction?

You can use the "data" field of ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,220 points
3,145 views
0 votes
1 answer

TestRPC/Ganache: the transaction doesn't have the correct nonce

Using MetaMask v3.14.1 you can reset your account as ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
3,138 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
3,132 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
3,130 views
0 votes
1 answer

Not able to attach geth.ipc: Fatal: Unable to attach to remote geth: connect: connection refused

You should not mention double quotes for ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,220 points
3,123 views
0 votes
1 answer

How to get price from bitcoin to USD with api

If I'm not wrong, is this what ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
3,114 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
3,114 views
0 votes
1 answer

Error while running curl command in Docker Quickstart Terminal

You can get the new version of ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,370 points
3,113 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
3,111 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
3,092 views