Most answered questions in Blockchain

+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
6,976 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,729 views
0 votes
3 answers

python ethereum (pyethapp): Failed building wheel for scrypt.

First try installing sudo apt-get install openssl However, If ...READ MORE

Oct 12, 2018 in Blockchain by Girish
1,594 views
0 votes
3 answers

String conversion to Array in Solidity

There is no built-in method/function for this ...READ MORE

Oct 3, 2018 in Blockchain by Charlie
3,277 views
+1 vote
3 answers

What is the pattern for handling throw on a Solidity contract in tests

In my opinion the cleanest way is: it("should ...READ MORE

Sep 25, 2018 in Blockchain by Lupin
1,815 views
0 votes
3 answers

UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit

I believe bytecode is being treated as ...READ MORE

Sep 24, 2018 in Blockchain by Teja
1,664 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,260 views
+2 votes
3 answers

Blockchain and HyperLedger difference

Hey, you got it right! Blockchain is ...READ MORE

Sep 7, 2018 in Blockchain by Omkar
• 69,220 points
1,153 views
+1 vote
3 answers

HTML Bitcoin address parsing using Beautiful soup

Regex is not meant for parsing. As ...READ MORE

Sep 5, 2018 in Blockchain by Lewis
1,711 views
+1 vote
3 answers

Pass all .dat files in folder to function

os.listdir(path) return names, not fullpaths change parseBlockFile(file) to fullpath = os.path.join(path,file) if os.path.isfile(fullpath) ...READ MORE

Sep 5, 2018 in Blockchain by Saygum
2,365 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,671 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
5,751 views
0 votes
3 answers

Hyperledger-fabric not working with docker swarm

The issue is that the chaincode container ...READ MORE

Aug 21, 2018 in Blockchain by Perry
• 17,100 points
2,701 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,370 points
6,544 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
6,496 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,652 views
0 votes
3 answers

Hyperledger fabcar sample fabric error: sendPeersProposal - Promise is rejected: Error: Connect Failed

Open the datasources.json file and replace the grpcs:// with grpc://. This solution worked ...READ MORE

Apr 30, 2019 in Blockchain by Reshma
3,127 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,120 views
+6 votes
3 answers

Why don't we consider Git as a Blockchain?

Blockchain is not just any chain of any blocks. Blockchain is when there ...READ MORE

Sep 7, 2018 in Blockchain by Rowski
3,435 views
0 votes
3 answers

How to create a cryptocurrency based reward system using Ethereum?

Hey, you can take the help of ...READ MORE

Oct 28, 2020 in Blockchain by jamesright
• 140 points
1,795 views
+1 vote
3 answers

How efficient is Ethereum in regard to its TPS??

TPS means transactions processing at any given ...READ MORE

Apr 16, 2018 in Blockchain by Shashank
• 10,400 points
3,807 views
+2 votes
3 answers

Can multi-channels be supported by Hyperledger in one peer?

Yes you can run  multiple chains on ...READ MORE

Apr 11, 2018 in Blockchain by Perry
• 17,100 points
2,909 views
+4 votes
3 answers

What type of database is blockchain?

Blockchain is a distributed database. what makes ...READ MORE

Mar 30, 2018 in Blockchain by Christine
• 15,790 points
1,347 views
+1 vote
3 answers

Is it possible to store data about arbitrary objects on the blockchain using smart contracts?

Basically you implement requested logic on by ...READ MORE

Aug 30, 2018 in Blockchain by Artem
1,551 views
0 votes
2 answers

Difference between various blockchain protocols

There are several differences between those blockchain ...READ MORE

Apr 6, 2022 in Blockchain by Aditya
• 7,680 points
623 views
0 votes
2 answers

Chaincode Installation failed, Hyperledger Fabric

Hi, @Bhuwan, There must be an error in ...READ MORE

Oct 5, 2020 in Blockchain by Gitika
• 65,770 points
5,292 views
0 votes
2 answers

Code to change owner

Hi, @Wilson, U have to write the require ...READ MORE

Oct 5, 2020 in Blockchain by Rajiv
• 8,870 points
1,868 views
0 votes
2 answers

Getting error while Initialising the Blockchain

Hello, @Edureka, You have two options: Execute with sudo. This ...READ MORE

Sep 17, 2020 in Blockchain by Roshni
• 10,480 points
3,258 views
0 votes
2 answers

Key Advantages of Using Blockchain in Banking

Hi, @blockchainhq, There are a few more advantages ...READ MORE

Jul 15, 2020 in Blockchain by Gitika
• 65,770 points
1,091 views
0 votes
2 answers

how save data from different account using web3.py to smart contract

Hey, @Amal, It will automatically take the address ...READ MORE

Jul 28, 2020 in Blockchain by Rajiv
• 8,870 points
1,536 views
0 votes
2 answers

is there any way of getting all data in hyperledger fabric before we start the ledger

Hey, @Harinishree, You can also do one thing, ...READ MORE

Jun 4, 2020 in Blockchain by Gitika
• 65,770 points
1,503 views
+1 vote
2 answers

Error 500: mychannel has been migrated to new lifecycle. Chaincode instantiation error.

This error occured only because I had ...READ MORE

Jan 9, 2020 in Blockchain by Aditya
• 250 points
4,462 views
+1 vote
2 answers
0 votes
2 answers

web3 accounts coming undefined

Try this :  web3.eth.getAccounts() READ MORE

Jul 23, 2020 in Blockchain by Manas
• 150 points
2,260 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,506 views
0 votes
2 answers

Truffle compile/migrate not working

In my case, use sudo command. truffle compile ...READ MORE

Feb 20, 2019 in Blockchain by byoul
2,884 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,905 views
–1 vote
2 answers

Can I add extra miners to an Ethereum Private Network?

To add miners, add peers. Then with ...READ MORE

Feb 19, 2019 in Blockchain by Rahul
1,254 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
9,234 views
–1 vote
2 answers

Truffle migrate shows Error: Cannot find module 'truffle-expect'

You can also install the basic truffle-expect ...READ MORE

Feb 19, 2019 in Blockchain by Rohit
1,022 views
0 votes
2 answers

Truffle compile: SyntaxError: No visibility specified. Did you intend to add "public"?

You can try another method : contract HelloWorld{       function ...READ MORE

Mar 18, 2019 in Blockchain by anonymous
3,897 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,169 views
+1 vote
2 answers

Not able to install Solidity in Ubuntu

As far as I can understand the ...READ MORE

Nov 26, 2019 in Blockchain by DeadShotOne96
1,953 views
+1 vote
2 answers

Not able to create new account in geth for private ethereum network

Looks like the account you are trying ...READ MORE

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

Truffle compile: Cant find module error

You can install babel-register and try again. ...READ MORE

Feb 19, 2019 in Blockchain by Loki
3,041 views
0 votes
2 answers

Hyperledger Fabric: Channel creation failed! FAILED to execute End-2-End Scenario

This error usually occurs if some old ...READ MORE

May 8, 2019 in Blockchain by John
3,251 views
0 votes
2 answers

Hyperledger byfn: could not assemble transaction: ProposalResponsePayloads do not match

This is because you have not installed ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 69,220 points
3,453 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,527 views
0 votes
2 answers

Hyperledger Fabric: invokeChaincode returns [Object object]

Replace  return shim.success(valString); with: return shim ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,052 views