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
47,299 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
43,913 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,210 points
24,969 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,120 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
21,588 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,210 points
21,550 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,210 points
18,602 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
16,750 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
15,580 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,210 points
15,322 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
14,711 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,210 points
14,500 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,350 points
13,983 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,210 points
13,926 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,350 points
13,367 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,350 points
13,284 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,222 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,210 points
12,878 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,079 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,210 points
11,966 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
11,681 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,347 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,350 points
11,313 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,187 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
9,974 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,409 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,350 points
9,351 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,210 points
9,246 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,105 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,350 points
9,027 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,210 points
8,948 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
8,944 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
8,824 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
8,730 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
8,505 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
8,498 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
8,450 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
8,445 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,350 points
8,245 views
+1 vote
8 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,127 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,210 points
7,849 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
7,594 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,210 points
7,591 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,210 points
7,542 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,210 points
7,528 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
7,288 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,210 points
7,126 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,108 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,094 views
0 votes
1 answer

How to force gradle to take UTF-8 encoding instead of operating system default encoding?

I've removed the UTF-8 chars from erroneous ...READ MORE

Oct 12, 2018 in Blockchain by Perry
• 17,100 points
7,059 views