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,419 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
809 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,066 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
848 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
749 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
749 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
693 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,040 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
776 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
730 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,887 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,413 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,240 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
762 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,030 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,041 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
607 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,088 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,547 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,485 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
543 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,053 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,002 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
1,995 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
981 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
711 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
2,997 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,303 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,031 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,205 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,240 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,536 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
885 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,273 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,396 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,346 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,697 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,165 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
601 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,683 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,064 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,700 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,439 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,629 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,119 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,240 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,761 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,016 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,209 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,135 views