Trending questions in Blockchain

0 votes
1 answer

Cannot download fabric-sdk-go.

This happens and I know how frustrating ...READ MORE

Sep 18, 2018 in Blockchain by digger
• 26,740 points
1,670 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,958 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,872 views
0 votes
1 answer

How to get iota balance via api url?

Either run your own node (thus, the localhost reference ...READ MORE

Sep 12, 2018 in Blockchain by digger
• 26,740 points
1,917 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
2,257 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,266 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,637 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,634 views
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,291 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,919 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,484 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,377 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,611 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,517 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,717 views
0 votes
1 answer

Etheruem: Pyethereum Error

Try running this: sudo easy_install -U setuptools In my ...READ MORE

Sep 28, 2018 in Blockchain by digger
• 26,740 points
1,162 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,899 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,631 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,889 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,579 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,225 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
2,130 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,172 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,436 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,935 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,804 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,961 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,489 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
2,004 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,485 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,482 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,292 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,825 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,325 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
2,144 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,876 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,216 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,570 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,959 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
3,036 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
2,032 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,767 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,940 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,773 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
2,039 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,727 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
2,329 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,319 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,754 views
0 votes
1 answer

Ubuntu "get attach" command failed

The geth.ipc gets created when Geth is succesfully launched.It ...READ MORE

Sep 7, 2018 in Blockchain by Surya
1,880 views