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
7,406 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 10,372 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
2,174 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,914 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
2,334 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
2,111 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
46,529 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,180 points
1,700 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
2,146 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,788 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
11,465 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,790 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
3,455 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,159 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
8,257 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,792 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,667 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,988 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
2,240 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
4,751 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
3,640 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,750 points
1,974 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
2,030 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
942 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,219 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
2,287 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,440 points
4,047 views
0 votes
2 answers

Key Advantages of Using Blockchain in Banking

Immutability: One of the main features of blockchain ...READ MORE

Apr 7, 2021 in Blockchain by Denis

edited Mar 5 1,533 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,833 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,730 points
1,857 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
5,084 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,571 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
23,460 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
3,346 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,805 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,533 views
–1 vote
2 answers

Truffle migrate not deploying contract.

truffle migrate --reset READ MORE

May 12, 2020 in Blockchain by Jason Romero
9,739 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,446 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
4,376 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
8,033 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
2,400 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,180 points
4,955 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,544 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,605 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,180 points
3,961 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,180 points
9,380 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,180 points
1,331 views
0 votes
2 answers

Hyperledger Composer: Adding a new peer: failed to create a new connection: context deadline exceeded.

Seems like peer address problem. Set the ...READ MORE

May 6, 2019 in Blockchain by Tina
4,390 views