Most viewed questions in Blockchain

0 votes
1 answer

How to get value from solidity contract using java?

web3j caters for this very use case. It ...READ MORE

Sep 28, 2018 in Blockchain by slayer
• 29,350 points
1,780 views
0 votes
1 answer

Truffle init: Error: Cannot find module 'original-require'

I think you need to run this ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,230 points
1,779 views
0 votes
1 answer

sendProposal - timed out after:45000, sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT

You could simply replace --net=bridge with --net=artifacts_default in your DockerFile.  I used ...READ MORE

Jul 26, 2018 in Blockchain by Perry
• 17,100 points
1,779 views
0 votes
1 answer

How can i create a simple P2P network on a blockchain?

To develop your own cryptocurrency, you need ...READ MORE

Apr 20, 2018 in Blockchain by Christine
• 15,790 points
1,776 views
0 votes
1 answer

How to access bitcoin Daemon from other services?

You don't need all these things to ...READ MORE

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

How can I communicate with peer to peer in a hyperledger fabric local network?

The peers communicate among them through the ...READ MORE

May 24, 2018 in Blockchain by Johnathon
• 9,090 points
1,775 views
0 votes
1 answer

Ethereum client-go RPC response 403 “invalid host specified”

Adding --rpcvhosts=* should solve the issue READ MORE

Oct 1, 2018 in Blockchain by slayer
• 29,350 points
1,767 views
0 votes
1 answer

How to get ethereum contract public variables?

You need to use call method, it ...READ MORE

Oct 17, 2018 in Blockchain by Christine
• 15,790 points
1,758 views
0 votes
1 answer

How to generate litecoin using pycoin?

In the secret_exponent_to_wif function def secret_exponent_to_wif(se, compressed): ...READ MORE

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

Web3: No provider set error

To solve this error, you need to ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,230 points
1,753 views
0 votes
1 answer

Python Double hash SHA256

You can get the given hash by ...READ MORE

Aug 29, 2018 in Blockchain by slayer
• 29,350 points
1,749 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,743 views
0 votes
1 answer

Private ethereum network account balance is zero

There are two reasons due to which ...READ MORE

Jan 28, 2019 in Blockchain by Omkar
• 69,230 points
1,742 views
0 votes
1 answer

Ethereum Node Connection: TypeError: Cannot read property 'version' of undefined

In the code that you are using ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,230 points
1,736 views
0 votes
1 answer

Not able to connect to Ethereum node in web browser

By default, geth listens only to localhost. ...READ MORE

Jan 16, 2019 in Blockchain by Omkar
• 69,230 points
1,734 views
+1 vote
2 answers

Hex to ASCII conversion shows wrong result.

Hey, I use the following code: public static ...READ MORE

Aug 21, 2018 in Blockchain by Omkar
• 69,230 points
1,732 views
0 votes
1 answer

Solidity: Code to hide message sender address (msg.sender) when writing on a contract

Hey @Wilson, You can use a smart contract ...READ MORE

Sep 14, 2020 in Blockchain by Rajiv
• 8,910 points
1,729 views
0 votes
0 answers

Cannot create genesis block?

When I try to create a genesis block ...READ MORE

Feb 27, 2019 in Blockchain by Tharindu
• 170 points

edited Feb 28, 2019 by Omkar 1,725 views
0 votes
1 answer

Are there null like thing in solidity

You could create none variable to use it as ...READ MORE

Sep 21, 2018 in Blockchain by digger
• 26,740 points
1,711 views
0 votes
1 answer

How to set chaincode path in Hyperledger Fabric?

For chaincode to properly run on your ...READ MORE

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

Channel fails to create Hyperledger Fabric

Hi, @Sara, I guess this error is happening ...READ MORE

May 26, 2020 in Blockchain by Gitika
• 65,910 points
1,704 views
0 votes
1 answer

jQuery/ajax - two separate API requests with combined results

You can move the second ajax call ...READ MORE

Jun 19, 2018 in Blockchain by aryya
• 7,450 points
1,704 views
0 votes
1 answer

Not able to connect nodes on Ethereum Private Network using bootnodes.

If you have created the private network ...READ MORE

Jan 27, 2019 in Blockchain by Omkar
• 69,230 points
1,703 views
0 votes
1 answer

How to get return value of external function?

You can do this. I have shared ...READ MORE

Aug 13, 2018 in Blockchain by digger
• 26,740 points
1,702 views
+1 vote
1 answer

How can I add image into my Hyperledger instance

In your registry, you can Base64-ify your ...READ MORE

Jun 8, 2018 in Blockchain by aryya
• 7,450 points
1,701 views
+1 vote
1 answer

How to deploy ethereum smart contracts on a website?

There are many ways to do this: 1 ...READ MORE

Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
1,700 views
0 votes
1 answer

Historical ethereum prices - Coinbase API

def get_spot_price(self, **params): """https://developers.coinbase.com/api/v2#get-spot-price""" ...READ MORE

Sep 21, 2018 in Blockchain by digger
• 26,740 points
1,698 views
0 votes
1 answer

What is the difference between Blockchin and Bitcoin

Blockchain has potential beyond Bitcoin and cryptocurrency. ...READ MORE

Jul 13, 2018 in Blockchain by shweta
• 440 points
1,694 views
0 votes
1 answer

Hyperledger Fabric:Error while creating channel unknown consortium

Firstly, replace DocChain with DocChainConsortium. Then run: docker-compose -f docker-compose-cli.yaml down --volumes ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 69,230 points
1,693 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,690 views
0 votes
1 answer

Hyperledger Fabric: cp: cannot stat ‘build/docker/gotools/bin/protoc-gen-go’: No such file or directory

Do this: $go get -u github.com/golang/protobuf/protoc-gen-go $ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/ Now ...READ MORE

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

Not Able to register a user with Hyperledger-Fabric v1.1 preview

The error: "Certificate not found with AKI 'e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011' ...READ MORE

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

Trying to instantiate chain code on channel

Looking at the error, it seems like ...READ MORE

Aug 1, 2019 in Blockchain by Jessica
1,683 views
0 votes
1 answer

PHP - Validate Multisig Bitcoin Wallet Address (with Leading 2 or 3)

 The answer to your question is located here:  function ...READ MORE

Apr 11, 2022 in Blockchain by Soham
• 9,700 points
1,680 views
–1 vote
1 answer

How to change default account in private ethereum network?

First list the accounts: > eth.accounts NOTE: Even ...READ MORE

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

Get specific JSON data value using array from Coin Market Cap API

use inArray function. example: $.getJSON("//api.coinmarketcap.com/v1/ticker/?limit=0", function(data) { ...READ MORE

Oct 8, 2018 in Blockchain by Omkar
• 69,230 points
1,679 views
0 votes
1 answer

How to resolve blockchain DNS using Python Requests?

You could use one of their publicly ...READ MORE

Aug 20, 2018 in Blockchain by Omkar
• 69,230 points
1,678 views
0 votes
1 answer

My first Hyperledger fabric network is not working

Delete as admin the channel-artifacts folder, down ...READ MORE

Aug 10, 2018 in Blockchain by Johnathon
• 9,090 points
1,675 views
0 votes
1 answer

Bitcoinj send payment from a wallet

The problem actually was with the input ...READ MORE

Sep 6, 2018 in Blockchain by slayer
• 29,350 points
1,672 views
0 votes
1 answer

Bitcoinjs-lib getAddress not a function error

You need to pass network parameter to ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
1,665 views
0 votes
1 answer

Hyperledger Fabric: Error endorsing chaincode: rpc error

Run the following commands and try again: docker ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 69,230 points
1,662 views
0 votes
1 answer

Generate new Ethereum Wallet in NodeJS

 In its simplest form, the Ethereum wallet ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,700 points
1,658 views
0 votes
1 answer

How to request the data of only one cryptocurrency using CoinMarketCap api?

If you want to get the price ...READ MORE

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

How to use Coinbase send_money API?

<?php require_once(dirname(__FILE__) . '/../lib/Coinbase.php'); // Create an application at ...READ MORE

Sep 12, 2018 in Blockchain by slayer
• 29,350 points
1,657 views
0 votes
1 answer

What is approve and allowance method?

approve(): This method is used by one ...READ MORE

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

Error while trying to create dir if missing: mkdir /var/hyperledger: permission denied

The following commands should help: sudo mkdir -p ...READ MORE

Jul 6, 2018 in Blockchain by Christine
• 15,790 points
1,653 views
0 votes
1 answer

Ethereum nodejs: Contract address returning as undefined in console

As per the documentation, if you deploy the ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
1,652 views
+1 vote
1 answer

Is it possible to store images on the Ethereum blockchain?

This is possible for your information but, ...READ MORE

Feb 24, 2022 in Blockchain by Aditya
• 7,680 points
1,651 views
–1 vote
1 answer

Not able to compile truffle project

Hi. If you look at the error ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,230 points
1,651 views
0 votes
1 answer

Hyperledger Fabric: How to retrieve result from Fabric Transaction?

invokeChainCode(securityContext, functionName, args, options) { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,230 points
1,649 views