Most viewed questions in Blockchain

0 votes
1 answer

Solidity how to solve “Error Encoding arguments ” error while using create button?

When you pass multiple arguments, you need ...READ MORE

Jul 30, 2018 in Blockchain by slayer
• 29,370 points
4,122 views
0 votes
2 answers

How do I interact with a smart contract on a private network through web3.js

I found a blog that explains how ...READ MORE

Aug 20, 2018 in Blockchain by slayer
• 29,370 points
4,116 views
0 votes
1 answer

Why do the resultant hash after mining has a leading no. of zeroes in Blockchain verification?

This is chosen by the DIFFICULTY EQUATION. In ...READ MORE

Aug 10, 2018 in Blockchain by Christine
• 15,790 points
4,094 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,091 views
0 votes
1 answer

Truffle compile compilation failed

This is a version compatibility problem. In ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,220 points
4,086 views
+1 vote
1 answer

Getting Hash160 bitcoin address in python

There is a package to decode and ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,370 points
4,047 views
+2 votes
1 answer

how to convert hash160 to bitcoin address in python?

Hey @Raj. I use the following script. ...READ MORE

Jul 12, 2019 in Blockchain by Tanisha
4,046 views
0 votes
1 answer

Generate Ethereum addresses in HD Wallet using public key only (bitcoinj/web3j)

Like Bitcoin, Ethereum uses secp256k1. Ethereum addresses ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,710 points
4,012 views
0 votes
1 answer

How can i import the csv/excel files into my contract and record the transaction ?

You can not directly import an excel/csv ...READ MORE

Apr 16, 2019 in Blockchain by Omkar
• 69,220 points
4,006 views
+1 vote
1 answer

geth: Fatal: Failed to read genesis file: open “/home/edureka/privatechain/”: no such file or directory

Use this: geth --datadir ./data init ./custom_genesis.json READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,220 points
3,974 views
+1 vote
5 answers

Does Hyperledger remove asset actually remove anything?

Hyperledger remove asset doesn't actually "remove" the ...READ MORE

Jun 19, 2018 in Blockchain by charlie_brown
• 7,720 points
3,954 views
0 votes
2 answers

Using Hyperledger composer with Hyperledger Blockchain explorer.

I was facing the same issue and ...READ MORE

Aug 9, 2018 in Blockchain by digger
• 26,740 points
3,943 views
0 votes
1 answer

When running the enrollAdmin.js i get this error:

you are not running the ca, port ...READ MORE

Jun 7, 2020 in Blockchain by sumit
3,934 views
–1 vote
1 answer

How to get pending transaction in geth?

You can check the pending transactions using ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,220 points
3,934 views
0 votes
1 answer

What is the difference between ipfs and ethereum?

Blockchain and IPFS are based on similar concepts of decentralized ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
3,915 views
+1 vote
4 answers

Trying to connect to Cryptocompare's websocket stream using socketIO from a Python client

The reason might be that the the socketio ...READ MORE

Aug 6, 2018 in Blockchain by Perry
• 17,100 points
3,886 views
0 votes
1 answer

How do I send back ethers to the sender of the tokens in a smart contract?

Whenever a smart contract receives ether via ...READ MORE

May 30, 2018 in Blockchain by Perry
• 17,100 points
3,795 views
0 votes
1 answer

var_dump of a JSON response returns NULL

You should be aware of the chances ...READ MORE

Aug 28, 2018 in Blockchain by digger
• 26,740 points
3,781 views
0 votes
1 answer

Stuck while using call_back_address and ipn url in coinpayment.net gateway

To make use of this api, just ...READ MORE

Aug 31, 2018 in Blockchain by digger
• 26,740 points
3,776 views
0 votes
1 answer

Is it possible to set up bots for BitCoin faucet websites?

I managed to create a bot for ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,710 points
3,763 views
0 votes
1 answer

Hyperledger Fabric: How to get transaction history using key?

history, err := stub.GetHistoryForKey(key_value) for history.HasNext() { ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 69,220 points
3,748 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,744 views
+1 vote
5 answers

Hyperledger Fabric: Error cryptogen tool

I got same error on Windows.  The solution ...READ MORE

Oct 25, 2018 in Blockchain by Mahesh
3,744 views
0 votes
1 answer

How to save complex object in the contract in solidity

You can't pass objects when initiating a ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,220 points
3,730 views
+1 vote
2 answers

Can I invoke a chaincode function from the chaincode itself?

Here's an example on how you can ...READ MORE

May 7, 2019 in Blockchain by Shir
3,721 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,699 views
0 votes
2 answers

Where can i find Hyperledger Fabric Node SDK sample application?

Here are some links where you can ...READ MORE

Apr 26, 2019 in Blockchain by Firoz
3,685 views
0 votes
1 answer

Cannot find package “google/protobuf”

Firstly, your import is wrong, you are ...READ MORE

Oct 1, 2018 in Blockchain by Perry
• 17,100 points
3,674 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,669 views
+1 vote
2 answers

How to configure Endorsement policy in Hyperledger?

The Hyperledger Fabric Endorsement policy is configured ...READ MORE

Jul 25, 2018 in Blockchain by slayer
• 29,370 points
3,666 views
0 votes
1 answer

Php code to generate Ethereum wallets.

You can use web3.eth.accounts in web3js web3.eth.accounts.create(); With Php, ...READ MORE

Jul 27, 2018 in Blockchain by slayer
• 29,370 points
3,654 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
3,609 views
0 votes
1 answer

How to send Bitcoins with node.js?

This website https://blockr.io/tx/push will successfully do the ...READ MORE

Jul 20, 2018 in Blockchain by Christine
• 15,790 points
3,603 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,770 points
3,552 views
+1 vote
2 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,220 points
3,544 views
0 votes
1 answer

How to generate new address for blockchain wallet?

You can use the following to generate ...READ MORE

Jul 16, 2018 in Blockchain by digger
• 26,740 points
3,542 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,538 views
0 votes
1 answer

String concatenation in solidity?

A library can be used, for example: import "github.com/Arachnid/solidity-stringutils/strings.sol"; contract C ...READ MORE

Sep 21, 2018 in Blockchain by slayer
• 29,370 points
3,507 views
+1 vote
2 answers

Peer chaincode instantiation timeout expired

Hey, i think you made a slight ...READ MORE

Sep 19, 2018 in Blockchain by digger
• 26,740 points
3,502 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,370 points
3,502 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
3,492 views
0 votes
1 answer

Bitcoin: parsing Blockchain API using JSON

Because you only add one address to ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
3,491 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,370 points
3,484 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,480 views
0 votes
1 answer

TypeError: argument must be a string node.js while encoding to hex string.

The error is in protobuf.Transaction.create headerSignature needs to be a string, ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
3,453 views
0 votes
1 answer

Is there a way to get the market cap or market cap rank of a coin using the Binance API?

This is how I did so: https://www.binance.com/exchange-api/v2/public/asset-service/product/get-products Get this ...READ MORE

Apr 6, 2022 in Blockchain by Aditya
• 7,680 points
3,449 views
0 votes
1 answer

How can I integrate ethereum wallet on my site??

you can use web3 js API to ...READ MORE

May 29, 2018 in Blockchain by Perry
• 17,100 points
3,446 views
0 votes
1 answer

How can I become a miner in Blockchain?

You need to download software to become ...READ MORE

Jul 3, 2019 in Blockchain by Raman
3,441 views
+1 vote
4 answers

What is the asset, key-value pair in hyperledger fabric?

Let me explain with an example. Suppose ...READ MORE

May 2, 2019 in Blockchain by Kiran
3,437 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
3,435 views