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
49,759 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,728 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
26,061 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,840 points
23,054 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,989 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,678 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
20,670 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,439 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,256 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
16,249 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
16,140 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,540 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
15,247 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,962 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,654 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
14,215 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
14,086 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,945 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
13,441 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
13,066 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,822 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
12,391 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
12,061 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,932 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,762 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,840 points
10,048 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
10,046 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,983 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,969 views
0 votes
1 answer

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

0xc253f0917b33b2947b4d9cdb7ad656cc0233ef1781984384284f3a91810a8a36 Th ...READ MORE

Oct 14, 2023 in Blockchain by Rishav Utkarsh

edited Mar 5 9,953 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,953 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,850 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,837 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,795 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,597 views
+14 votes
4 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,559 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
9,400 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,330 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
9,045 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,998 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,863 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,790 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,675 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,513 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,478 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
8,297 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
8,145 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,910 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,623 views
0 votes
2 answers

“geth attach” command shows error: Fatal: Unable to attach to remote geth

please check from root, sudo -i geth attach READ MORE

Nov 7, 2020 in Blockchain by balachandar
• 140 points
7,571 views