Most viewed questions in Blockchain

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,391 views
0 votes
1 answer

What is the use of Ethereum's RLPx in Ethereum ecosystem?

So, RLPx is a protocol suite. It ...READ MORE

Jun 5, 2018 in Blockchain by Johnathon
• 9,090 points
1,383 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,381 views
+1 vote
0 answers

How to check a Bitcoin wallet balance from first generated address (m/44'/0'/0'/0/0)

Is there a way to check a ...READ MORE

Mar 4, 2022 in Blockchain by Soham
• 9,700 points
1,378 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,190 points
1,373 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,190 points
1,368 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,190 points
1,367 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,367 views
+1 vote
0 answers

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

I am following this tutorial on setting ...READ MORE

Jan 9, 2020 in Blockchain by Aditya
• 250 points

reshown Jan 9, 2020 by Kalgi 1,357 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,190 points
1,352 views
+1 vote
0 answers

cryptogen: error: open ./crypto-config.yaml: The system cannot find the file specified [closed]

I created a generate.sh to generate crypto ...READ MORE

Mar 1, 2019 in Blockchain by Tharindu
• 170 points

closed Mar 1, 2019 by Tharindu 1,348 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,190 points
1,348 views
0 votes
1 answer

How To Get BTC Price on Binance from Binance API

In the Script environment for Apps, the ...READ MORE

Feb 28, 2022 in Blockchain by Soham
• 9,700 points
1,333 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,322 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,190 points
1,315 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,700 points
1,312 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,312 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,311 views
0 votes
1 answer

How to see bitcoin transaction info?

You can view foreign transactions using bitcoind. Set txindex=1 in ...READ MORE

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

How to select a single account in Ganache?

When you use web3, selecting a single ...READ MORE

Feb 5, 2019 in Blockchain by Omkar
• 69,190 points
1,308 views
0 votes
1 answer

How to visualize real-time data candlestick chart for cryptocurrencies?

Take a look at https://github.com/highfestiva/finplot. Where you can ...READ MORE

Apr 7, 2022 in Blockchain by Rahul
• 9,670 points
1,307 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,190 points
1,299 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,293 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,290 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,190 points
1,289 views
–1 vote
1 answer

User Identity Management in Ethereum using ERC725

The identity consists of two main parts: Keys ...READ MORE

Dec 28, 2018 in Blockchain by Omkar
• 69,190 points
1,281 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,281 views
0 votes
1 answer

Solidity: logical AND outputs parser error

Its Syntax error logical and operator is ...READ MORE

Oct 12, 2018 in Blockchain by Perry
• 17,100 points
1,276 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,274 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,274 views
0 votes
1 answer

“Error getting chaincode package bytes” when deploying chaincode on hyperledger via REST

Considering that you are playing with Bluemix ...READ MORE

Aug 3, 2018 in Blockchain by charlie_brown
• 7,720 points
1,273 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,272 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,270 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,268 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
1,268 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,262 views
0 votes
1 answer

Error: Error trying to ping. Error: Error trying to query business network. Error: Connect Failed

Run the following commandbefore updating: composer network start ...READ MORE

Jun 28, 2018 in Blockchain by Perry
• 17,100 points
1,262 views
0 votes
2 answers

Modifiers in solidity

pragma solidity ^0.4.17; contract ModifiersTutorial { ...READ MORE

Oct 12, 2018 in Blockchain by Pulkit
1,259 views
0 votes
1 answer

Intl.NumberFormat() does not show the Bitcoin Ƀ Symbol

According to bitcoin.it (https://en.bitcoin.it/wiki/Bitcoin_symbol), The ISO 4217 currency code for ...READ MORE

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

Accessing External Api in HyperLedger Fabric

Generally you are not supposed to call ...READ MORE

Nov 17, 2018 in Blockchain by Christine
• 15,790 points
1,253 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,242 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,190 points
1,241 views
0 votes
1 answer

My account is already an administrator but its giving the an error on denial of permission

Hi, @There, You can try this in your ...READ MORE

Jun 17, 2020 in Blockchain by Gitika
• 65,910 points
1,233 views
0 votes
1 answer

How to get account with ethers by default in ethereum private network?

Have you created an account before allocating ...READ MORE

Jan 9, 2019 in Blockchain by Omkar
• 69,190 points
1,233 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,233 views
0 votes
1 answer

Truffle migrate fails due to missing function, but it exists in node_modules

deployer.deploy(password1, password2, deadline, {value: 100, from: accounts[0]}); ...READ MORE

Oct 3, 2018 in Blockchain by digger
• 26,740 points
1,231 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,230 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,190 points
1,230 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
1,230 views
0 votes
1 answer

"const is reserved" parse error.

It could be an error because of ...READ MORE

Jul 6, 2018 in Blockchain by slayer
• 29,350 points
1,229 views