Most viewed questions in Blockchain

0 votes
2 answers

how to integrate coinbase api in php for transfer bitcoine

Here the code for php please have ...READ MORE

Sep 17, 2018 in Blockchain by Suresh
2,899 views
+1 vote
3 answers

Hyperledger Java SDK Client Event Listener to register and listen Blocks

First add the eventhub, and then  register ...READ MORE

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

Converting 5e-08 to decimal in PHP

Use printf with the appropriate format specifier: printf("%.8f", 5 / ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
2,876 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,350 points
2,864 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,210 points
2,831 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,826 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,350 points
2,804 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,350 points
2,801 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,791 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,210 points
2,785 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,779 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,770 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,769 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,754 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,744 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,743 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,210 points
2,734 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,210 points
2,730 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,350 points
2,723 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,350 points
2,711 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,210 points
2,706 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,705 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,210 points
2,700 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,210 points
2,699 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,698 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,688 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,661 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,350 points
2,655 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,350 points
2,651 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,647 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,646 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,210 points
2,644 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,628 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,600 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,598 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,592 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,350 points
2,589 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,210 points
2,585 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,350 points
2,583 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,210 points
2,567 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,562 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,555 views
0 votes
1 answer

How to get all address and send ethers in solidity using a loop?

I found a similar code somewhere: contract  Holders{ uint ...READ MORE

Jul 31, 2018 in Blockchain by digger
• 26,740 points
2,550 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,210 points
2,546 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,350 points
2,544 views
0 votes
1 answer
0 votes
1 answer

How to retrieve data from an Ethereum Block?

To get transaction details like Block Hash ...READ MORE

Jul 19, 2018 in Blockchain by Perry
• 17,100 points
2,518 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,514 views
+1 vote
1 answer

How does a miner get to know that a transaction is verified by all the nodes?

Contrary to the popular belief, it is ...READ MORE

Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
2,509 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,210 points
2,493 views