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
38,140 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,720 points
36,112 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
23,232 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
18,955 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
18,067 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,800 points
18,036 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
14,910 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
14,733 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
13,730 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
12,410 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
12,229 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,310 points
12,135 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
11,761 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,310 points
11,197 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
10,864 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
10,423 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
10,337 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,310 points
10,336 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
10,017 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
9,897 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
9,477 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
9,466 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,310 points
9,429 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,310 points
8,294 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
8,158 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
8,125 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
7,891 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
7,580 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
7,554 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,800 points
7,452 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
7,312 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
7,215 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
7,203 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 7,059 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,310 points
6,997 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
6,958 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
6,856 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
6,841 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,720 points
6,792 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
6,762 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
6,504 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
6,485 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,310 points
6,453 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
6,027 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
5,924 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
5,780 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
5,610 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,210 points
5,505 views
0 votes
1 answer

Hyperledger Fabric: How to Parse arrays in req.body in node js express?

You can get the value from the ...READ MORE

Nov 16, 2018 in Blockchain by Kavya
5,485 views
0 votes
1 answer

Hyperledger Fabric: “Local Fabric binary version does not match this newer version of BYFN and is unsupported”.

You need to first delete the existing ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,210 points
5,389 views