Most viewed questions in Blockchain

0 votes
10 answers

How to solve gradle build failed error?

I migrated the project to a different ...READ MORE

Dec 7, 2018 in Blockchain by Rajat
48,827 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
45,160 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,220 points
25,636 views
0 votes
1 answer

Javascript ES6 TypeError: Class constructor Client cannot be invoked without 'new'

Hello @kartik, In package.json you can use targets configuration with @babel/preset-env. ...READ MORE

May 5, 2020 in Blockchain by Niroj
• 82,880 points
22,790 views
0 votes
2 answers

How to install Ganache on Linux?

For linux you first need to download ...READ MORE

Jun 3, 2019 in Blockchain by Tushar
• 190 points
22,396 views
0 votes
1 answer

How to fix "failed to execute script docker compose" error on windows 7?

It seems like the container is not ...READ MORE

Jun 27, 2018 in Blockchain by Omkar
• 69,220 points
22,328 views
+4 votes
2 answers

Hyperledger Fabric issue: orderer client failed to connect to orderer.xxx.net:7050: failed to create new connection

Hey @gujiwork, Try making the following changes: docker-compose-base.yaml and ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
19,842 views
0 votes
1 answer

How do I get the balance of an account in Ethereum?

On the Web: (Not programmatic, but for completeness...) ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
17,237 views
0 votes
1 answer

How to install Ganache in Windows?

First, we need to install nodejs. Go ...READ MORE

Feb 28, 2019 in Blockchain by Rishi
16,040 views
0 votes
1 answer

How to print a message in Solidity??

You can use the require function to do this. ...READ MORE

Dec 12, 2018 in Blockchain by Omkar
• 69,220 points
15,904 views
+1 vote
4 answers

How to estimate the cost for deploying smart contract on mainnet?

Since you have already deployed the contract ...READ MORE

Apr 10, 2018 in Blockchain by Shashank
• 10,400 points
15,522 views
0 votes
1 answer

'env' is not recognized as an internal or external command

According to the error, it seems like ...READ MORE

Jan 23, 2019 in Blockchain by Omkar
• 69,220 points
15,173 views
+2 votes
5 answers

How to install Ganache.appx on Windows 7

Go to https://github.com/trufflesuite/ganache/releases there are a set of ...READ MORE

Aug 17, 2018 in Blockchain by Omkar
• 69,220 points
14,696 views
0 votes
4 answers

How to solve “bind: cannot assign requested address” Error?

You must mention in your host.conf file ...READ MORE

Jul 31, 2018 in Blockchain by slayer
• 29,370 points
14,546 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,370 points
14,172 views
0 votes
2 answers

Truffle console error: Could not find suitable configuration file

First, initialize truffle project by running: $ truffle ...READ MORE

Feb 19, 2019 in Blockchain by John
13,837 views
0 votes
2 answers

Angular Bitcoin error: "Error trying to diff '[object Object]'"

There are two approaches to this: 1. You ...READ MORE

Sep 4, 2018 in Blockchain by slayer
• 29,370 points
13,821 views
+1 vote
8 answers

How is Blockchain a linked list?

Blockchain is similar to Single Linked List ...READ MORE

Aug 3, 2018 in Blockchain by Omkar
• 69,220 points
13,552 views
+2 votes
4 answers

"failed to create new connection context deadline exceeded." error in Hyperledger Fabric

Try remove previous docker containers(have mentioned the ...READ MORE

Apr 24, 2019 in Blockchain by Kiran
12,817 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,220 points
12,662 views
+1 vote
2 answers

How to convert INT to STRING in Solidity?

Look at the following code : function uintToString(uint ...READ MORE

Jun 27, 2018 in Blockchain by Christine
• 15,790 points
12,403 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,370 points
11,916 views
0 votes
3 answers

Truffle migrate Could not connect to your Ethereum client.

As mentioned in the previous answer, you ...READ MORE

Feb 19, 2019 in Blockchain by Dinesh
11,789 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
10,613 views
0 votes
1 answer

What is the purpose of Blockchain Technology?

Purpose of Blockchain Technology: A blockchain technology is ...READ MORE

Jul 18, 2018 in Blockchain by Mohini
• 260 points
10,569 views
0 votes
1 answer

Error: '.' is not recognized as an internal or external command,

Hello @kartik, Edit package.json and remove the ./. Change "start": "./node_modules/nodemon/bin/nodemon.js src/app.js" to "start": "nodemon ...READ MORE

May 5, 2020 in Blockchain by Niroj
• 82,880 points
9,889 views
0 votes
1 answer

Extract data from Json url result php

Try this code, it worked for me: $balance ...READ MORE

Sep 3, 2018 in Blockchain by slayer
• 29,370 points
9,775 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,665 views
0 votes
1 answer

JavaFX Location is not set error message

I had this problem and found this ...READ MORE

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

How to check ethereum logs?

Hey there! You don't have a Verbose ...READ MORE

Jan 9, 2019 in Blockchain by Omkar
• 69,220 points
9,607 views
–1 vote
6 answers

Hyperledger fabric: Docker container error: Error response from daemon: Container is not running

I had to update the version of ...READ MORE

Apr 25, 2019 in Blockchain by Gani
9,511 views
0 votes
1 answer

Solidity ParserError: Expected identifier but got '='

Hey, the solidity grammar doesn't allow assignments ...READ MORE

Oct 9, 2018 in Blockchain by Omkar
• 69,220 points
9,441 views
+1 vote
5 answers

Where does the smart contracts stored and executed on blockchain?

Ethereum smart contracts are executed on EVM ...READ MORE

May 3, 2018 in Blockchain by Shashank
• 10,400 points
9,310 views
0 votes
1 answer

What is the previous block hash of block #4390176 in Ethereum Blockchain

1,226,797,074,502,984,598,563 Hope this helps! To know more, Enroll with Blockchain ...READ MORE

Sep 7, 2020 in Blockchain by Sayali
9,229 views
+14 votes
5 answers

Difference between hyperledger fabric and sawtooth?

Source: https://www.hyperledger.org/wp-content/uploads/2017/ ...READ MORE

Aug 29, 2018 in Blockchain by Anurag
9,217 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
9,187 views
+1 vote
5 answers

Difference between internal-external, private-public in function

External: These functions are part of the ...READ MORE

Apr 8, 2018 in Blockchain by Shashank
• 10,400 points
9,134 views
+1 vote
1 answer

what is use of msg.sender in solidity code?

msg.sender(address) function indicated the sender of the ...READ MORE

Apr 25, 2018 in Blockchain by Shashank
• 10,400 points
9,036 views
+1 vote
7 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,767 views
0 votes
1 answer

How to set token price in solidity?

We know that 1 Ether = 1018 wei, ...READ MORE

Sep 25, 2018 in Blockchain by slayer
• 29,370 points
8,709 views
0 votes
2 answers

Hyperledger Fabric: Error: could not assemble transaction, err proposal response was not successful.

Hey. It seems like you already have ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,220 points
8,438 views
+1 vote
4 answers

Uncaught Error: Returned values aren't valid, did it run Out of Gas?

Could be due to previously set values. ...READ MORE

Jan 31, 2019 in Blockchain by Omkar
• 69,220 points
8,251 views
+1 vote
4 answers

How PBFT algorithm works?

PBFT is a way for a distributed ...READ MORE

Apr 25, 2019 in Blockchain by Kiran
8,152 views
0 votes
1 answer

How to solve “error: no objects passed to create” Error?

It seems like a problem with the ...READ MORE

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

Truffle migrate: Error: You must specify a network_id in your 'development' configuration in order to use this network.

You have to mention the network id ...READ MORE

Dec 11, 2018 in Blockchain by Omkar
• 69,220 points
8,069 views
0 votes
1 answer

Solidity: casting address to address payable

I don’t see why direct casting isn’t ...READ MORE

Jan 23, 2019 in Blockchain by Omkar
• 69,220 points
7,963 views
+2 votes
3 answers

Hyperledger Fabric: Not able to create the channel "Channel creation failed" error

Seems like you have not set the ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
7,725 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,598 views
0 votes
1 answer

How to detect if an ethereum address is an ERC20 token contract?

There are many possible ways to achieve ...READ MORE

Sep 25, 2018 in Blockchain by Christine
• 15,790 points
7,392 views
0 votes
1 answer

Solidity error: SyntaxError: No visibility specified.

As mentioned in the error, you have ...READ MORE

Dec 12, 2018 in Blockchain by Omkar
• 69,220 points
7,329 views