Most viewed questions in Blockchain

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,190 points
5,584 views
+2 votes
5 answers

How do I parse this JSON array in PHP?

/** * Firstly collect the ...READ MORE

Sep 3, 2018 in Blockchain by slayer
• 29,330 points
5,450 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
5,432 views
0 votes
1 answer

Call contract methods with web3 from newly created account

In fact, we can't just send transactions ...READ MORE

Sep 25, 2018 in Blockchain by digger
• 26,740 points
5,397 views
+1 vote
2 answers

Integrating web3 from Metamask: "ReferenceError: window is not defined" error

You can't use MetaMask on server-side because ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,190 points
5,387 views
+1 vote
3 answers

Not able to read a file from my assets folder

Hi.. I faced a similar problem in ...READ MORE

Oct 25, 2018 in Blockchain by Shrikanth
5,290 views
0 votes
1 answer

geth: Fatal: invalid genesis file: invalid character 'â' looking for beginning of object key string

Looks like your editor is adding characters ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,190 points
5,274 views
0 votes
4 answers

Hyperledger: byfn.sh up: ERROR !!! FAILED to execute End-2-End Scenario.

Try these commands $ docker rm -f $(docker ...READ MORE

Nov 28, 2018 in Blockchain by kartik chauhan
5,271 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,190 points
5,144 views
+3 votes
4 answers

How to solve “ERROR: manifest for hyperledger/fabric-orderer:latest not found” error?

I was having the same problem and ...READ MORE

Sep 6, 2018 in Blockchain by Rakesh
5,076 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
5,069 views
0 votes
1 answer

If any etherium smart contract source code is not verified

To remove the “unverified” label, the human ...READ MORE

May 12, 2020 in Blockchain by Vikas Blockchained
5,060 views
0 votes
3 answers

Querying past transaction data from Hyperledger Fabric.

You can use shim function and query ...READ MORE

Apr 26, 2019 in Blockchain by Shaheen
4,996 views
0 votes
3 answers

How to solve “VM Exception while processing transaction: revert” error?

I am using windows 7. Any solution ...READ MORE

Apr 30, 2019 in Blockchain by Rajesh
4,866 views
+1 vote
2 answers

Hyperledger fabric: Error: got unexpected status: FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies

Try  ./byfn.sh -m down and then ./byfn.sh -m up READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,190 points
4,813 views
0 votes
1 answer

"Migrations" exceeded the block limit (with a gas value you set).

In the error you have posted, in ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,190 points
4,764 views
0 votes
1 answer

How to reintialize genesis block in geth ethereum?

You are getting this error because you ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,190 points
4,754 views
+3 votes
3 answers

How to validate bitcoin address?

I found these 2 scripts online: Javascript: <html> <head> <script type="text/javascript" ...READ MORE

Aug 17, 2018 in Blockchain by slayer
• 29,330 points
4,631 views
0 votes
1 answer

Hyperledger Fabric: Error: Error getting chaincode code chaincode: cannot find package

In the startFabric.sh launch the cli container ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,190 points
4,576 views
0 votes
1 answer

web3.eth.sendSignedTransaction() always return “Returned error: nonce too low”

This bit of code looks wrong: var rawTx ...READ MORE

Oct 1, 2018 in Blockchain by slayer
• 29,330 points
4,504 views
0 votes
2 answers

How to solve “sender doesn't have enough funds to send tx” error in Ethereum?

I also had the same error. I ...READ MORE

Mar 3, 2020 in Blockchain by Noha Abuaesh
4,497 views
0 votes
1 answer

How to solve “insufficient funds for gas * price + value” error?

Change the following line Credentials credentials = Credentials.create(firstAccount); To ...READ MORE

Aug 1, 2018 in Blockchain by slayer
• 29,330 points
4,423 views
0 votes
1 answer

How to efficiently hash (SHA 256) in golang data where only the last few bytes changes

You can try the following examples on ...READ MORE

Jun 27, 2018 in Blockchain by aryya
• 7,450 points
4,403 views
+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

May 8, 2018 in Blockchain by Rachel
4,354 views
0 votes
4 answers

Issue with getting web3.eth.accounts (MetaMask)

I solved problem, using: web3.eth.getAccounts((err, res) => ...READ MORE

Oct 12, 2018 in Blockchain by Perry
• 17,100 points
4,342 views
+1 vote
1 answer

Return array of struct from a solidity function: "Expected type name function getPurchaseOrderForVendor" error

There's a typo in your code. The ...READ MORE

Oct 17, 2018 in Blockchain by Christine
• 15,790 points
4,335 views
+1 vote
4 answers

Hyperledger Fabric: Failed to enroll admin: Error: Failed to enroll admin.

As your .hfc-key-store directory is in chaindev, Try running the following ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,190 points
4,310 views
0 votes
1 answer

How to set the ERC20 token price in respect to ether in solidity?

Hi, @Jas, I would suggest you go through ...READ MORE

Nov 9, 2020 in Blockchain by anonymous
• 10,520 points
4,302 views
+2 votes
1 answer

How to solve “SyntaxError: unexpected EOF” error in python?

There is not a problem in the ...READ MORE

Jul 30, 2018 in Blockchain by slayer
• 29,330 points
4,266 views
+1 vote
1 answer

How can I modify stored data in blockchain??

One of the important feature of a ...READ MORE

Apr 18, 2018 in Blockchain by Christine
• 15,790 points
4,248 views
+1 vote
3 answers

Hyperledger Fabric: How to delete installed chaincode ?

One way to do it, that I ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,190 points
4,223 views
0 votes
1 answer

How to get return value from solidity contract?

Once you call a constant function, you ...READ MORE

Aug 16, 2018 in Blockchain by slayer
• 29,330 points
4,192 views
0 votes
1 answer

How to create Bitcoin Address in PHP?

You need to understand that Bitcoin address and ...READ MORE

Aug 28, 2018 in Blockchain by Perry
• 17,100 points
4,167 views
+1 vote
1 answer

Ethereum Error: authentication needed: password or unlock

First, make sure you have an account. web3.personal.listAccounts If ...READ MORE

Aug 8, 2018 in Blockchain by Omkar
• 69,190 points
4,135 views
+1 vote
1 answer

invalid sender error when trying to send signed transaction

Hi, i had the same error and ...READ MORE

Nov 16, 2018 in Blockchain by bublig737
4,109 views
0 votes
1 answer

How to install truffle on Linux?

You can install Truffle using npm(node package manager). ...READ MORE

Feb 28, 2019 in Blockchain by Rishab
4,048 views
0 votes
1 answer

geth: Fatal: Error starting protocol stack: datadir already used by another process

It seems like geth is already running. ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,190 points
4,045 views
0 votes
1 answer

What is the difference between if() and require() statement in solidity??

If() and require() have separate functions and ...READ MORE

Apr 18, 2018 in Blockchain by Shashank
• 10,400 points
4,032 views
–1 vote
1 answer

Not able to use geth attach

You are getting this error because you ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,190 points
4,024 views
0 votes
1 answer

Can not open geth console: Fatal: Error starting protocol stack: listen tcp :30303: bind: address already in use

The default port for geth is 30303. ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,190 points
4,009 views
0 votes
2 answers

How to completely uninstall hyperledger composer?

You might have to uninstall/remove files from ...READ MORE

Aug 9, 2018 in Blockchain by slayer
• 29,330 points
3,988 views
0 votes
4 answers

Hyperledger fabric: enrollAdmin.js Error: Cannot find module 'fabric-client'

Change your directory to fabric-samples/fabrcar. And run: npm ...READ MORE

Nov 21, 2018 in Blockchain by Omkar
• 69,190 points
3,940 views
+3 votes
4 answers

How do I add a new node on a Hyperledger network?

You can do this by generating the crypto ...READ MORE

Apr 7, 2018 in Blockchain by Christine
• 15,790 points
3,864 views
+2 votes
3 answers

What are the functions of the Fabric CA Server and Fabric CA Client?

You need to setup the Fabric CA ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
3,838 views
0 votes
1 answer

Not able to install truffle using npm install -g truffle

You need root access to install truffle, ...READ MORE

Nov 29, 2018 in Blockchain by Omkar
• 69,190 points
3,800 views
0 votes
1 answer

Hyperledger Fabric: can't load package: package github.com/hyperledger/fabric/core/chaincode/shim:

You can install various golang projects with ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,190 points
3,766 views
0 votes
4 answers

Hyperledger Fabric: Error: 2 UNKNOWN: access denied: channel [contentbackchainchannel] creator org

Run the following command inside fabric-tools folder: ./teardownFabric.sh ./startFabric.sh ./createPeerAdminCard.sh Then ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,190 points
3,752 views
+15 votes
5 answers

How to add Org or peer in Org dynamically in Hyperledger fabric?

I know it is a bit late ...READ MORE

Jul 27, 2018 in Blockchain by Omkar
• 69,190 points

edited Jul 22, 2019 by Omkar 3,747 views