Most viewed questions in Blockchain

0 votes
1 answer

Getting Invalid number of parameters for “undefined” when deploying smart contract

Try something like this for contracts that ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,230 points
2,991 views
0 votes
1 answer

Can't call contract function in truffle console

Inspect the object adoption within the console. You will ...READ MORE

Sep 28, 2018 in Blockchain by slayer
• 29,360 points
2,984 views
0 votes
1 answer

Solidity invalid opcode error

In the for loop, your indexing going ...READ MORE

Aug 16, 2018 in Blockchain by slayer
• 29,360 points
2,979 views
+1 vote
1 answer

How to write an ERC 721 contract?

You could go through the following links:  https://github ...READ MORE

Jun 28, 2018 in Blockchain by Perry
• 17,100 points
2,965 views
0 votes
1 answer

Access multiple return values (a, b, c) from solidity function in web3js

You'll get an array of return values ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,360 points
2,963 views
0 votes
1 answer

How to get IP address of peer connected in private ethereum network?

To get these details, you can use ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,230 points
2,961 views
0 votes
1 answer

How to solve “ltdl.h: No such file or directory” error?

It seems like you are missing header ...READ MORE

Jul 26, 2018 in Blockchain by slayer
• 29,360 points
2,954 views
0 votes
1 answer

How to solve “The method personal_newAccount does not exist/is not available” Error?

You are connecting using WS but have ...READ MORE

Jul 27, 2018 in Blockchain by slayer
• 29,360 points
2,950 views
0 votes
1 answer

Installing Solidity on Linux

You can install Solidity Compiler on Linux ...READ MORE

Feb 28, 2019 in Blockchain by Reshma
2,927 views
+2 votes
1 answer

How to store data in Hyperledger Fabric after restart?

When you use docker-compose down, all the ...READ MORE

Jul 27, 2018 in Blockchain by digger
• 26,740 points
2,908 views
+1 vote
1 answer

how to create channels with new orgs in Fabric? getting error: Attempted to include a member which is not in the consortium.

$: peer channel fetch config config_block.pb -o ...READ MORE

Jul 24, 2019 in Blockchain by Ayush
• 180 points
2,889 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,520 points
2,882 views
0 votes
1 answer

Web3j Transfer.sendFunds() returns Error “insufficient funds for gas * price + value”

DISCLAIMER. This may not necessarily be an answer to your ...READ MORE

Jun 16, 2018 in Blockchain by charlie_brown
• 7,720 points
2,879 views
0 votes
1 answer

Install testrpc on Windows

You can not directly install testrpc on ...READ MORE

Feb 28, 2019 in Blockchain by Piyush
2,872 views
0 votes
2 answers

UnicodeDecodeError: 'utf-8' codec can't decode byte (python)

I found a python rpc library for ...READ MORE

Sep 4, 2018 in Blockchain by Piston
2,870 views
0 votes
1 answer

How do I initialize an array in a struct

You need to manually change the length ...READ MORE

Oct 1, 2018 in Blockchain by Perry
• 17,100 points
2,865 views
0 votes
1 answer

Web-scraping from Coinbase with Python (Pycharm)

Data that you want to scrape is ...READ MORE

Sep 4, 2018 in Blockchain by digger
• 26,740 points
2,865 views
0 votes
1 answer

Not able to attach geth.ipc: Fatal: Unable to attach to remote geth: connect: connection refused

You should not mention double quotes for ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,230 points
2,857 views
0 votes
1 answer

How to set the hex-encoded data field in a Web3j Ethereum transaction?

You can use the "data" field of ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
2,852 views
0 votes
1 answer

How to convert byte array to hex string?

You are missing the padding in the ...READ MORE

Aug 17, 2018 in Blockchain by slayer
• 29,360 points
2,852 views
0 votes
1 answer

How to deploy hyperledger fabric in production level?

Once you set up the Fabric, bring ...READ MORE

Aug 2, 2018 in Blockchain by aryya
• 7,450 points
2,850 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
2,844 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
2,844 views
0 votes
1 answer

Module not found: Can't resolve './truffle-contract/build/contracts

Hey! Firstly, there seems to be a ...READ MORE

May 9, 2019 in Blockchain by Omkar
• 69,230 points
2,838 views
0 votes
1 answer

'ppa:ethereum' error while installing ethereum on ubuntu

First try: sudo apt-get install --reinstall ca-certificates If ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,360 points
2,838 views
0 votes
1 answer

How to Check if string is in list in javascript?

At first, make sure that the string ...READ MORE

Sep 19, 2018 in Blockchain by slayer
• 29,360 points
2,836 views
+1 vote
4 answers

What role does Orderer peer serves in Hyperledger Fabric??

Shared communication channel to clients and peers ...READ MORE

Apr 12, 2018 in Blockchain by Johnathon
• 9,090 points
2,833 views
0 votes
1 answer

getting error while starting Hyperleger fabric network on Aws server

Hey, @Nithin, It seems like you have stopped containers ...READ MORE

Mar 30, 2020 in Blockchain by Gitika
• 65,910 points
2,828 views
+1 vote
2 answers

Where is custom chaincode path Hyperledger Fabric 1.0?

You have to have your chaincode at ...READ MORE

Jul 10, 2018 in Blockchain by slayer
• 29,360 points
2,821 views
0 votes
1 answer

How to add peer to ethereum private network?

To connect a node to already existing ...READ MORE

Jan 22, 2019 in Blockchain by Omkar
• 69,230 points
2,807 views
0 votes
2 answers

How to use multiple anchor peers in an organization?

To use multiple anchor peers, you need ...READ MORE

Jul 10, 2018 in Blockchain by digger
• 26,740 points
2,793 views
0 votes
1 answer

Intrinsic gas too low and exceeds block limit

If you are talking about the public ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,740 points
2,785 views
0 votes
1 answer

Where is the cryptogen tool in fabric?

Go in the fabric directory and then ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,230 points
2,778 views
0 votes
1 answer

TestRPC/Ganache: the transaction doesn't have the correct nonce

Using MetaMask v3.14.1 you can reset your account as ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
2,776 views
0 votes
1 answer

Calling function in truffle console error

Inside Truffle console ContractName.deployed().then(function(instance){app = instance}) app.adopt(23)//call method on ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,230 points
2,776 views
0 votes
1 answer

Cannot access web3 object with typescript and ethereum

You still need to instantiate it first. ...READ MORE

Sep 25, 2018 in Blockchain by slayer
• 29,360 points
2,746 views
0 votes
1 answer

Error while running curl command in Docker Quickstart Terminal

You can get the new version of ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,360 points
2,741 views
+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

Jun 13, 2018 in Blockchain by Perry
• 17,100 points
2,736 views
+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

Apr 29, 2019 in Blockchain by Tina
2,735 views
–1 vote
1 answer

How to connect two different nodes in private ethereum network?

To connect two nodes, you can use ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,230 points
2,728 views
0 votes
1 answer

Cant get a specific value in JSON/PHP

Convert the json-string to a php-array and ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,360 points
2,713 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,700 views
0 votes
1 answer

Solidity Error: Exceeds block gas limit

Remove the line norpc:true and change the ...READ MORE

Jan 24, 2019 in Blockchain by Omkar
• 69,230 points
2,694 views
0 votes
1 answer

Angular: How to display ngModel Object In Html Template?

You can use pipe as json on html page like this: {{ ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,230 points
2,688 views
0 votes
1 answer

How to interact with smart contract in GO?

I am providing an example. Modify it ...READ MORE

Jul 26, 2018 in Blockchain by digger
• 26,740 points
2,680 views
0 votes
1 answer

How to get price from bitcoin to USD with api

If I'm not wrong, is this what ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
2,673 views
0 votes
1 answer

Hyper Fabric: Error: CONNECTION_FAILED. Description: dialing connection timed out

The mapping is not set up right. ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,230 points
2,664 views
0 votes
1 answer

How to get sender bitcoin address from transaction ID?

 You can use any scripting language with ...READ MORE

Apr 12, 2022 in Blockchain by Rahul
• 9,680 points
2,663 views
+1 vote
1 answer

Which data structure to prefer to model a blockchain?

To start with, let me tell you ...READ MORE

Apr 21, 2018 in Blockchain by Perry
• 17,100 points
2,656 views
0 votes
1 answer

Solidity Web3js: Invalid number of arguments to Solidity function error

Try this: Change console.log(formData.destinationtoke); console.log(formData.amounttoke); var tx = sendtoken(destinationtoke, amounttoke); To : console.log(formData.destinationtoke); console.log(formData.amounttoke); var ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,230 points
2,655 views