Most viewed questions in Blockchain

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,080 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,220 points
2,078 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
2,062 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
2,060 views
0 votes
1 answer

How is consensus reached when there are only two peers in Hyperledger Fabric?

The consensus is achieved in the ordering ...READ MORE

Jul 5, 2018 in Blockchain by digger
• 26,740 points
2,059 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,220 points
2,058 views
0 votes
4 answers

Unable to run truffle@2.1.2 migrate --network live. “Exceeds block gas limit”

A simple solution to avoid this is: module.exports ...READ MORE

Sep 28, 2018 in Blockchain by Ludo
2,058 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,220 points
2,057 views
+1 vote
2 answers

Hyperledger Composer: "No version of composer-cli has been detected" after global installation

I am also facing a similar issue, ...READ MORE

Sep 20, 2019 in Blockchain by sam
• 160 points
2,057 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,053 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,051 views
0 votes
0 answers

Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable

After ran this command java -jar network-bootstrapper-VERSION.jar --dir <nodes-root-dir>.The files is generated.After ...READ MORE

Jun 20, 2019 in Blockchain by anonymous
2,048 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,220 points
2,045 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,036 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,220 points
2,034 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,220 points
2,034 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,033 views
+1 vote
3 answers

What is the pattern for handling throw on a Solidity contract in tests

In my opinion the cleanest way is: it("should ...READ MORE

Sep 25, 2018 in Blockchain by Lupin
2,031 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,030 views
0 votes
1 answer

Stratum connection for bitcoin pool mining

After hours of tinkering around I have ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
2,024 views
+1 vote
1 answer

How do i generate corda nodes keystores in dev mode?

In Corda, the node will look into ...READ MORE

Apr 11, 2018 in Blockchain by Perry
• 17,100 points
2,021 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,014 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,010 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,220 points
2,002 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,220 points
2,002 views
+1 vote
2 answers
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,790 points
1,999 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,220 points
1,995 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,220 points
1,994 views
0 votes
1 answer

Hyperledger: Explorer Shows Empty Data and Promise is rejected: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser

This config worked for me: { "network-config": { ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,220 points
1,992 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,220 points
1,988 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
1,987 views
0 votes
1 answer

In Ethereum Solidity, what is the purpose of the “memory” keyword?

Without the memory keyword, Solidity tries to declare variables ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
1,984 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,790 points
1,983 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 1,981 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
1,980 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
1,978 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
1,976 views
0 votes
1 answer

How can I call a contract from another contract?

There are two ways to solve this. ...READ MORE

Jan 23, 2019 in Blockchain by Omkar
• 69,220 points
1,974 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,970 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
1,969 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,220 points
1,966 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
1,966 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
1,962 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
1,961 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
1,959 views
0 votes
1 answer

What is the difference between hashing and encryption process?

Hashing and encryption are same but not ...READ MORE

Dec 4, 2018 in Blockchain by Omkar
• 69,220 points
1,956 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,710 points
1,952 views
0 votes
1 answer

How to make Geth transactions faster?

You can change the speed by the ...READ MORE

Jul 17, 2018 in Blockchain by slayer
• 29,370 points
1,949 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
1,937 views