Most viewed questions in Blockchain

0 votes
1 answer

Çannot implement web3.eth.subscribe on Web3 version 1.0.0-beta.27

As the error suggests, pub/sub is not ...READ MORE

Jun 19, 2018 in Blockchain by Perry
• 17,100 points

edited Jun 19, 2018 by Perry 1,916 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,914 views
0 votes
1 answer

Ethereum, web3, Error: invalid argument 0: cannot unmarshal non-string as hex data, when I call a contract

I have the same problem. But with ...READ MORE

Oct 8, 2018 in Blockchain by Omkar
• 69,230 points
1,905 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,370 points
1,904 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,904 views
+1 vote
1 answer

What are peers and how a user enrolls into a specific peer?

In fabric, there is an admin, he ...READ MORE

May 3, 2018 in Blockchain by Shashank
• 10,400 points
1,904 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,460 points
1,903 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,890 points
1,901 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,898 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,895 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,891 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,890 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,885 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,885 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,882 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,875 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,872 views
0 votes
1 answer

yfinance Crypto symbol list

After what I know about, YahooFinance uses ...READ MORE

Mar 24, 2022 in Blockchain by Rahul
• 9,680 points
1,868 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,460 points
1,867 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,862 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,857 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,370 points
1,857 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,856 views
0 votes
2 answers

Hyperledger sawtooth installation: No connectivity between host computer and docker container

Check the ip used by docker. If ...READ MORE

Jan 21, 2019 in Blockchain by Bhavana
1,851 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,851 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,370 points
1,850 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,844 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,370 points
1,842 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,833 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,833 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,710 points
1,830 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,826 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,820 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,819 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,370 points
1,817 views
+2 votes
1 answer

What are the wallet path credentials for Web3j?

Follow the below steps: Go to the private ...READ MORE

Aug 2, 2018 in Blockchain by Omkar
• 69,230 points
1,813 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,808 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,808 views
–1 vote
1 answer

Miner in Ethereum Private network is hanging

Looking at your commands again, I figured ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,230 points
1,803 views
+11 votes
4 answers

How do I create an ether wallet?

The Ethereum Wallet is a gateway to decentralized applications ...READ MORE

Sep 14, 2018 in Blockchain by Shiva
1,802 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,710 points
1,801 views
0 votes
1 answer

What is my chaincode ID in Hyperledger Fabric?

Hey. You have used chaincode id but ...READ MORE

Nov 21, 2018 in Blockchain by Omkar
• 69,230 points
1,800 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,797 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,796 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,795 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,794 views
0 votes
1 answer

How to register a user in Hyperledger Fabric?

Best practice would be to leverage an ...READ MORE

Sep 5, 2018 in Blockchain by Christine
• 15,790 points
1,793 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,786 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,785 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,778 views