Trending questions in Blockchain

0 votes
1 answer

Bitcoin private key: translate from bash to perl

use bignum; # Get arbitrary precision arithmetic # ...READ MORE

Sep 4, 2018 in Blockchain by slayer
• 29,370 points
1,561 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,202 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
895 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
975 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
886 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,180 points
4,284 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,400 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
832 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,180 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
3,032 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,735 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,561 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,198 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
904 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
894 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,750 points
845 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
744 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,175 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,626 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,200 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,218 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
668 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,144 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,144 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,372 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,455 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,405 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,133 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
1,088 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,508 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,253 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
819 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
1,032 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,853 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,674 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,324 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,410 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,750 points
1,534 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,832 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,854 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,589 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,281 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
724 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,396 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,918 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
860 views
0 votes
1 answer

How to retrieve data from a block to a blockchain?

web3.eth.getTransaction(txHash) will returns transaction details like blockHash, transactionIndex, ...READ MORE

Jun 27, 2018 in Blockchain by Perry
• 17,100 points
4,299 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,745 views
0 votes
1 answer

SHA256 does not give expected result.

You're hashing the string when you're supposed ...READ MORE

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

Not able to generate WIF from extended private key

I found the answer to this in the ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,740 points
1,537 views