Trending questions in Blockchain

0 votes
2 answers

Coinbase button creation and callback

You can use the following code for generating ...READ MORE

Sep 3, 2018 in Blockchain by Nitika
2,130 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
1,456 views
0 votes
1 answer

Not able to run chaincode locally using docker

Looks like the Fabric team introduced "nopkcs11" ...READ MORE

Sep 18, 2018 in Blockchain by slayer
• 29,370 points
1,450 views
+1 vote
1 answer

Ethereum vs Hyperledger: Which is better for business networks?

Hyperledger is preferred for B2B business and ...READ MORE

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

How to send JSON object from npm module to browser

A simple solution for this would be ...READ MORE

Sep 20, 2018 in Blockchain by digger
• 26,740 points
1,356 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
2,650 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
2,083 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
4,198 views
+1 vote
1 answer

Unable to convert variable to GMP when initializing Bitpay client class (Laravel)

Bitpay automatically uses the encrypted file store, ...READ MORE

Sep 10, 2018 in Blockchain by slayer
• 29,370 points
1,740 views
+1 vote
2 answers

HyperLedger Fabric Java SDK - Wrinting the ChainCode Sample in Java

To get started developing Java chaincode Ensure you ...READ MORE

Aug 3, 2018 in Blockchain by Omkar
• 69,180 points
5,973 views
0 votes
1 answer

coin.mx : 403 forbidden error on my web request

I was having the same issue and ...READ MORE

Sep 11, 2018 in Blockchain by digger
• 26,740 points
1,733 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
2,509 views
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
2,030 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
1,462 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
5,032 views
0 votes
1 answer

Why do people prefer mining Litecoin over Bitcoin?

The main reason people prefer mining Litecoin ...READ MORE

Sep 21, 2018 in Blockchain by slayer
• 29,370 points
1,283 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,705 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
1,351 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
1,260 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
1,388 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
1,387 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,632 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,742 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
1,317 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
2,739 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,913 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
1,304 views
0 votes
1 answer

How to get genesis block value at new bitcoin source?

chainparams.cpp contains a line of code that ...READ MORE

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

Python authenticated calls to bitfinex exchange

You should use byte type api_secret. api_secret = ...READ MORE

Sep 7, 2018 in Blockchain by slayer
• 29,370 points
1,815 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,899 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
2,109 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,807 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,643 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
3,007 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
3,049 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,795 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,858 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
2,384 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,595 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

Aug 6, 2018 in Blockchain by aryya
• 7,460 points
3,107 views
0 votes
1 answer

Solidity difference array with and without new keyword.

Creating arrays with variable length in memory ...READ MORE

Aug 16, 2018 in Blockchain by digger
• 26,740 points
2,700 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,606 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
1,182 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,874 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,616 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,563 views
0 votes
1 answer

Angular 4: not able to iterate over an array

Replace this : <div *ngFor="let price of prices"> ...READ MORE

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

obfuscating and deobfuscating a string in JavaScript

You can use btoa() and atob(). btoa() is like base64_encode() and atob() like base64_decode(). Here is an example: btoa('Some ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,370 points
2,363 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
2,306 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
1,051 views