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,515 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
44,073 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,230 points
25,035 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,192 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,682 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,230 points
21,638 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,230 points
18,755 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,801 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,622 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,230 points
15,398 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,791 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,230 points
14,592 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
14,032 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,230 points
14,022 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,465 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,327 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,293 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,230 points
12,974 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,146 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,230 points
12,039 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,746 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,412 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,370 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,238 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,043 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,469 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,388 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,230 points
9,268 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,188 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,105 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,017 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,230 points
9,002 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,861 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
8,780 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,568 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,555 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,515 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,504 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,287 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,190 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,230 points
7,905 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,230 points
7,669 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,660 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,230 points
7,598 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,230 points
7,564 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,387 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,230 points
7,194 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,148 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,121 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,079 views