Most viewed questions in Blockchain

+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
2,318 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
2,318 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
2,317 views
0 votes
2 answers

Code to change owner

Hi, @Wilson, U have to write the require ...READ MORE

Oct 5, 2020 in Blockchain by Rajiv
• 8,870 points
2,311 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,180 points
2,311 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,750 points
2,310 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
2,298 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,750 points
2,298 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
2,293 views
+1 vote
1 answer

Coinbase API: Get transaction fees

The Coinbase "fee" is the difference between ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
2,290 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
2,289 views
+1 vote
2 answers
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,180 points
2,280 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,180 points
2,279 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,180 points
2,271 views
0 votes
3 answers

How to create a cryptocurrency based reward system using Ethereum?

Hey, you can take the help of ...READ MORE

Oct 28, 2020 in Blockchain by jamesright
• 140 points
2,269 views
0 votes
1 answer

Hyperledger Docker: Error building images: cannot connect to Docker endpoint.

Check your container environment variable: CORE_VM_ENDPOINT=unix:///var/run/docker.sock Then if you ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,180 points
2,266 views
+4 votes
5 answers

How is Blockchain a distributed database?

Think of blockchain as a relatively slow, ...READ MORE

Mar 26, 2018 in Blockchain by Christine
• 15,750 points
2,261 views
0 votes
1 answer

How to handle smart contract transaction express nodejs?

sendSignedTransaction returns a Promise combined event emitter. You can ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,180 points
2,254 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,180 points
2,252 views
0 votes
1 answer

Send Payment error in Blockchain API

The following code should help: $address = null; try ...READ MORE

Jul 6, 2018 in Blockchain by Perry
• 17,100 points
2,249 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
2,248 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,180 points
2,247 views
0 votes
0 answers

Cannot create crypto materiel with cryptogen command?

When I am creating crypto-materiel with cryptogen ...READ MORE

Feb 26, 2019 in Blockchain by Tharindu
• 170 points
2,245 views
–1 vote
1 answer

How to add a static node to private ethereum network?

There are two ways to do this. 1. Configuring ...READ MORE

Jan 11, 2019 in Blockchain by Omkar
• 69,180 points
2,245 views
0 votes
1 answer

How do I start mining on my private chain?

You could try deleting the datadir/.etash and ...READ MORE

Jul 13, 2018 in Blockchain by Christine
• 15,750 points
2,240 views
0 votes
1 answer

How to get Node URL in private ethereum network?

You have already noticed that  admin.peers does ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,180 points
2,237 views
0 votes
2 answers

Creating a private/public key with 64 characters that are already known using bitcoinjs

//public-key var address = eckey.getBitcoinAddress().toString(); var privateKeyBytesCompressed = privateKeyBytes.slice(0); ...READ MORE

Sep 10, 2018 in Blockchain by Misty
2,236 views
0 votes
2 answers

Truffle migrate gives “ Error: No network specified. ”

You have to mention on which network ...READ MORE

Aug 13, 2018 in Blockchain by Omkar
• 69,180 points
2,235 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,180 points
2,234 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
2,230 views
0 votes
1 answer

How to call external data using smart contracts?

Smart contracts can not directly call external ...READ MORE

Jul 16, 2018 in Blockchain by slayer
• 29,370 points
2,226 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,180 points
2,217 views
0 votes
1 answer

GetState query via chaincode always returns empty value

fabric uses an ccenv image to build the chaincode when ...READ MORE

Jul 17, 2018 in Blockchain by Christine
• 15,750 points
2,215 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,180 points
2,210 views
0 votes
1 answer

PHP IPC with geth Ethereum: How to communicate with client?

You have to use PHP Sockets $sock = socket_create(AF_UNIX, ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,180 points
2,210 views
0 votes
0 answers

how to sign bitcoin psbt with ledger?

I'm trying to sign a PSBT transaction ...READ MORE

Mar 9, 2022 in Blockchain by Soham
• 9,730 points
2,206 views
0 votes
1 answer

How to extract Ethereum Blockchain data?

You are using web3.eth.getTransaction(txHash) web3.eth.getTransaction(txHash) will only return info ...READ MORE

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

python ethereum (pyethapp): Failed building wheel for scrypt.

First try installing sudo apt-get install openssl However, If ...READ MORE

Oct 12, 2018 in Blockchain by Girish
2,196 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,180 points
2,193 views
0 votes
1 answer

How to create users on hyperledger and how to assign policies to the created users?

First the users need to establish identity ...READ MORE

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

Connection failed to Ethereum Ropsten Testnet network.

 It looks like your node isn't syncing ...READ MORE

Mar 27, 2018 in Blockchain by Christine
• 15,750 points
2,187 views
+1 vote
0 answers

Error 500 during instantiation of chaincode for commercial-paper example.

I have been successfully able to cover ...READ MORE

Jan 9, 2020 in Blockchain by Aditya
• 250 points

reopened Nov 12, 2024 by Neelam 2,185 views
+1 vote
1 answer

Error while sending a transaction from Web3py to a Smart Contract in Remix

You get the revert error when a ...READ MORE

Dec 12, 2019 in Blockchain by Vivek
2,184 views
0 votes
1 answer

Is there a way to get a trade history report from the Bitfinex API?

You can still fetch your private trades ...READ MORE

Aug 30, 2018 in Blockchain by Perry
• 17,100 points
2,181 views
0 votes
1 answer

How to get a list of Coinbase CryptoCurrency Coins

The following code: import requests ...READ MORE

Apr 8, 2022 in Blockchain by Rahul
• 9,690 points
2,180 views
0 votes
1 answer

bitcoin to currency converter and it's reverse in php

Ok, you can get the value by ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
2,174 views
+4 votes
2 answers

Warning: Invoking events without “emit” prefix is deprecated while truffle compile

As the warning mentions, add emit as ...READ MORE

Oct 16, 2018 in Blockchain by Aisha
2,174 views
+1 vote
3 answers

HTML Bitcoin address parsing using Beautiful soup

Regex is not meant for parsing. As ...READ MORE

Sep 5, 2018 in Blockchain by Lewis
2,171 views
+3 votes
2 answers

How to run ethereumjs using Node.JS

You need to install testrpc globally on ...READ MORE

Mar 27, 2018 in Blockchain by ned_crew
• 1,610 points
2,166 views