Trending questions in Blockchain

0 votes
1 answer

How to compute SHA256 hash for bitcoin header

header_hex = "02000000aaf8ab82362344f49083ee4edef795362cf135293564c4070000000000000000c009bb6222e9bc4cdb8f26b2e8a2f8d163509691a4038fa692abf9a474c9b21476800755c02e17181fe6c1c3" # Decode header hex into ...READ MORE

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

How to connect to already running go ethereum client using mist Ubuntu

Hey, you can solve the issue by using sudo ...READ MORE

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

Litecoin/Bitcoin how divide uint256 target value on difficulty in C++

This is the solution: void setdouble(double val) { ...READ MORE

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

Hyperledger fabric node sdk deploy.js example failing

Have you installed couchdb? Install couchdb as ...READ MORE

Sep 17, 2018 in Blockchain by slayer
• 29,370 points
851 views
0 votes
1 answer

Decorators in Hyperledger Composer Modeling Language

Define you CustomAsset like mentioned below and ...READ MORE

Sep 19, 2018 in Blockchain by slayer
• 29,370 points
758 views
0 votes
1 answer

How to Read multiple value from as JSON format from a external service and store in composer registry

Hey buddy,  this works: /** * Track temperatures ...READ MORE

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

Blockchain ToBTC API not returning Php variable

Seems like you have a syntax error ...READ MORE

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

What's the difference between ethereum and chain?

Ethereum is an open source blockchain platform ...READ MORE

Sep 12, 2018 in Blockchain by Perry
• 17,100 points
1,042 views
0 votes
1 answer

How to get all address and send ethers in solidity using a loop?

I found a similar code somewhere: contract  Holders{ uint ...READ MORE

Jul 31, 2018 in Blockchain by digger
• 26,740 points
2,895 views
0 votes
1 answer

How to get results by running the voting code on Ethereum?

In mist go to your contract and ...READ MORE

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

When trying to Start the membersrvc, its not responding!

You should start membersrvc at first in ...READ MORE

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

client_id in Bitstamp's API

You can use this Ruby code: require 'open-uri' require ...READ MORE

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

How to decrypt result of query when using the Hyperledger Client SDK for Node.js

In this case, it is just a ...READ MORE

Sep 18, 2018 in Blockchain by slayer
• 29,370 points
765 views
0 votes
1 answer

GDAX Heartbeat Channel: Failed to subscribe error

You to include "product_ids" : ["BTC-GBP"] as a field ...READ MORE

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

How to “unrecognized import path error” while using go for hyperledger fabric?

The solution to this problem is as ...READ MORE

Jul 27, 2018 in Blockchain by slayer
• 29,370 points
3,036 views
0 votes
1 answer

PHP. Bitcoin to Ukrainian Hrivna price ticker

nstead of dividing the values - i ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,370 points
1,044 views
0 votes
1 answer

Syntax Error running on Python

You are missing the closing parenthesis: hashlib.sha256(self.index + ...READ MORE

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

Hyperledger Fabric peer command not found error.

This error occurs when the system can ...READ MORE

Jul 2, 2018 in Blockchain by Omkar
• 69,220 points
4,091 views
0 votes
1 answer

Problem while compiling BitcoinJS for browser

The problem iss that you are using browserify wrong ...READ MORE

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

How to generate new address for blockchain wallet?

You can use the following to generate ...READ MORE

Jul 16, 2018 in Blockchain by digger
• 26,740 points
3,488 views
+2 votes
1 answer

Has Blockchain made illegal activities easier?

Not really.. The transparency of Blockchain makes ...READ MORE

Sep 20, 2018 in Blockchain by Sumit
545 views
0 votes
1 answer

Websockets for Block.io API giving an error message

Try something like this: https://jsfiddle.net/bxw3v8c7/ <html> <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script> var btcs = ...READ MORE

Sep 10, 2018 in Blockchain by slayer
• 29,370 points
1,055 views
0 votes
2 answers

Saving a string in python associated with an API

You can create a list and add ...READ MORE

Sep 10, 2018 in Blockchain by Joy
1,004 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,000 views
0 votes
1 answer

Not getting correct result after SHA256

You have to: Hash with SHA-256 the public key: 0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6 Hash with RIPEMD-160 the ...READ MORE

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

Javascript: cant update assets in for-loop

Your for-loop will not wait for the ...READ MORE

Sep 17, 2018 in Blockchain by slayer
• 29,370 points
714 views
0 votes
1 answer

How to interact with smart contract in GO?

I am providing an example. Modify it ...READ MORE

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

Trying to understand nbits value from stratum protocol

You are right, nbits is current network difficulty. Difficulty encoding ...READ MORE

Sep 3, 2018 in Blockchain by Perry
• 17,100 points
1,306 views
0 votes
1 answer

How to solve “More than one instance of bitcore-lib found” error?

There is a temp solution here. ~/bitcore-explorers/node_modules/bitcore-lib/index.js line 7: bitcore.versionGuard ...READ MORE

Jul 25, 2018 in Blockchain by slayer
• 29,370 points
3,034 views
0 votes
1 answer

com.coinbase.api.exc­eption.UnauthorizedE­xception

Start by creating a new OAuth 2.0 ...READ MORE

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

python3 pip not working

The name of your package in PyPI ...READ MORE

Sep 4, 2018 in Blockchain by slayer
• 29,370 points
1,242 views
0 votes
1 answer

Korbit api with python http.client

http.client.HTTPSConnection accepts hostname, not a url. conn = http.client.HTTPSConnection("api.korbit.co.kr", ...READ MORE

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

jsonRPCClient Error with php variables

All you have to do is change ...READ MORE

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

How to return Google protobuff object using python Django

Protocol buffer is a binary format. You ...READ MORE

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

How to get the number of tokens in the Bitcoin network?

This information can easily be calculated by ...READ MORE

Aug 31, 2018 in Blockchain by Christine
• 15,790 points
1,401 views
0 votes
1 answer

How to create channels in Hyperledger Sawtooth?

There are two features that I know ...READ MORE

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

How to read file from subprocess.open in python?

you call: out, err = p.communicate() READ MORE

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

Running blockchain script in a one liner

This is a direct translation of the ...READ MORE

Sep 18, 2018 in Blockchain by slayer
• 29,370 points
607 views
0 votes
1 answer

Javascript mBTC to BTC conversion not working

At the beginning of bitcoinConversion() you have: if (currentUnit != ...READ MORE

Sep 5, 2018 in Blockchain by slayer
• 29,370 points
1,167 views
0 votes
1 answer

How to use std::iterator with basic type uint8_t*?

std::reverse_iterator takes the original iterator type as ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,370 points
1,687 views
0 votes
1 answer

Boost issue while building Litecoin

Try reinstalling boost (uninstall and install again), ...READ MORE

Sep 7, 2018 in Blockchain by slayer
• 29,370 points
1,066 views
0 votes
1 answer

React Native to make requests to bitcoin wallet

I found an API that could help ...READ MORE

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

Kraken Api, withdrawal issue “Invalid asset”

asset need to be specified as lowercase, so you ...READ MORE

Aug 29, 2018 in Blockchain by Sumit
1,443 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
2,124 views
0 votes
1 answer

How to send events in Hyperledger Composer?

You define the event in your .cto ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
1,631 views
0 votes
1 answer

How to create light wallet in Web3J?

You can use this method to create ...READ MORE

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

Generating Bitcoin addresses from a xpubkey

var pubkey = ExtPubKey.Parse("xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz"); var newAddress = pubkey.Derive(0).Derive(0).PubKey.GetAddress(Network.Main); Console.WriteLine(newAddress); It ...READ MORE

Aug 21, 2018 in Blockchain by slayer
• 29,370 points
1,763 views
0 votes
1 answer

Cant install python module for python3.6 to use Jsonrpc for altcoin

Try this  VERSION=0.1 python3 setup.py install and there's also ...READ MORE

Sep 7, 2018 in Blockchain by digger
• 26,740 points
1,022 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
2,213 views
0 votes
1 answer

CompleteableFuture in a loop contruct in a private Ethereum Blockchain

You might be able to benefit from ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,370 points
701 views