Most viewed questions in Blockchain

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,750 points
7,873 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,180 points
7,811 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,180 points
7,722 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,699 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
7,503 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
7,472 views
+3 votes
2 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,370 points
7,448 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,180 points
7,442 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,180 points
7,294 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
7,211 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
6,977 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
6,966 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,370 points
6,958 views
0 votes
1 answer

What's the difference between SHA and AES encryption?

You use SHA functions to take a ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
6,934 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,180 points
6,900 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
6,898 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
6,877 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
6,825 views
0 votes
2 answers

What is the difference between full node and partial node?

We need different types of nodes to ...READ MORE

May 31, 2019 in Blockchain by Sourav kumar
6,792 views
0 votes
1 answer

Know which exchange or wallet is behind a BTC address?

To answer your question, due to each ...READ MORE

Feb 28, 2022 in Blockchain by Soham
• 9,730 points
6,789 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,180 points
6,787 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
6,738 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,750 points
6,727 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
6,713 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,180 points
6,687 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,370 points
6,609 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,750 points
6,602 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,180 points
6,469 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
6,330 views
0 votes
2 answers

Chaincode Installation failed, Hyperledger Fabric

I had the same issue. I had ...READ MORE

Feb 15, 2022 in Blockchain by Pranitha Sanda

edited Mar 5 6,288 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,370 points
6,280 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,370 points
6,243 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,180 points
6,101 views
0 votes
4 answers

Cannot find module 'fabric-network' - is my application installation done wrong?

First, install grpc and run it: $ npm ...READ MORE

May 20, 2019 in Blockchain by John
6,035 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,180 points
6,011 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,460 points
6,003 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,180 points
5,987 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
5,947 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
5,947 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
5,943 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,180 points
5,883 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,180 points
5,875 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,180 points
5,864 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,180 points

edited Jul 22, 2019 by Omkar 5,837 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,180 points
5,826 views
+1 vote
2 answers

Using Composite Key formation to get states for a date range in Hyperledger Fabric V1.0

I think you have found a partial ...READ MORE

Jul 20, 2018 in Blockchain by charlie_brown
• 7,720 points
5,823 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,370 points
5,723 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,370 points
5,541 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,750 points
5,539 views