Most voted questions in Blockchain

0 votes
1 answer

Intl.NumberFormat() does not show the Bitcoin Ƀ Symbol

According to bitcoin.it (https://en.bitcoin.it/wiki/Bitcoin_symbol), The ISO 4217 currency code for ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
1,917 views
0 votes
1 answer

Comparing hex representation of 2 BigIntegers

You can compare two sequences of equal ...READ MORE

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

Bitcoinjs-lib getAddress not a function error

You need to pass network parameter to ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
1,615 views
0 votes
1 answer

Unable to enroll user in new org

The thing is by default, fabric-ca only has ...READ MORE

Aug 25, 2018 in Blockchain by Christine
• 15,790 points
2,021 views
0 votes
1 answer

Are there any plans for composer, to make usage of the recently released Side DB feature?

As of yet, it isn't supported by ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
390 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,132 views
0 votes
1 answer

What is the difference between o and --> in Fabric Composer?

'o' indicates has-a relationship '-->' indicates pass by ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
480 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,231 views
0 votes
1 answer

How to open bitcoin-qt wallet with bitcoinj?

I found this issue solved at the ...READ MORE

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

Web3 ethereum miner_start not implemented.

You have to first enable "miner" API ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
1,455 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
908 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,350 points
1,164 views
0 votes
1 answer

How to use Proc/lamba returned from a method in Ruby?

You need to remove the colon: list.select(&valid_transaction) The & ...READ MORE

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

How to get amount of bitcoins in php?

I’ve tried this code and it works: <?php function ...READ MORE

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

Bruteforcing OpenSSL to decrypt bitcoin backup.

You need to add -passin pass:XXX options, where XXX ...READ MORE

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

Not able to build bitcoind on mac.

You have to install pkg-config before running ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
496 views
0 votes
1 answer

How to generate pem with openssl?

Here’s the working code: int generatePem(char **pem) { ...READ MORE

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

Cant make transactions in bitcoind.

Fist you should encrypt your wallet: bitcoin-cli encryptwallet ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
553 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,265 views
0 votes
1 answer

Blockcypher API code error

This code will work: <?php try ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
1,105 views
0 votes
1 answer

Coinbase API: Get transaction fees

The Coinbase "fee" is the difference between ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
1,350 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,350 points
719 views
0 votes
1 answer

Bitcoind server connection problem

Be sure to allow your server ip ...READ MORE

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

Generating cryptocoin address.

30 in decimal will give you a ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
414 views
0 votes
0 answers

How do I identify invoking peer/organisation inside Hyperledger Fabric V1.0 chaincode?

Is there any way to know the ...READ MORE

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

Bitcoin: parsing Blockchain API using JSON

Because you only add one address to ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
2,999 views
0 votes
1 answer

Not able to run Bitcoin’s autogen.sh file.

Installing autoconf and automake would solve the ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
921 views
0 votes
1 answer

Bitcoin: error parsing json

Make these changes in your code: json="'{" to ...READ MORE

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

blockchain.info api_code is missing

Check the blockchain api. it should be $Blockchain ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
956 views
0 votes
1 answer

Getting Bitcoin address from pubkey_hash

The unexpected result is due to encoding. For ...READ MORE

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

How to generate Bitcoin address in Ruby?

In your generate_address_from_public_key_hash method, the checksum should be over ...READ MORE

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

Base58 encoding in ruby?

Seems like a hexadecimal number is stuck ...READ MORE

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

Problem installing bitcoin wallet in Ubuntu.

You install Bitcoind using the following commands: sudo ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
739 views
0 votes
1 answer

How to set bitcoin reward less than 1 coin?

Coin is defined here: https://github.com/bitcoin/bitcoin/blob/master/src/amount.h#L16 static const CAmount COIN ...READ MORE

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

Webpack destroying code in production.

The problem is that Uglify mangles too ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
409 views
0 votes
1 answer

How to interact with a Smart Contract on private network using Web3.js?

Once you set up infura you can ...READ MORE

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

How to resolve Blockchain DNS using Python Requests?

Look at this example: import requests from random import ...READ MORE

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

Not receiving any data from the BitStamp API.

I saw a code online that was ...READ MORE

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

How to convert Bitcoin rate to USD?

You can use blockchain.info API: URL: https://blockchain.info/ticker Response: { "USD" ...READ MORE

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

How to use bitcoin price as place holder in php?

You can do it by providing an ...READ MORE

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

How to get data from Google Finance to Google sheets?

You need to have a from and ...READ MORE

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

Bitcoin transaction “amount is below the current minimum” error

I went through the code and the ...READ MORE

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

Cant Decode Bitcoin Base58 address to byte array

In your for-loop: for (int k = b256.Length ...READ MORE

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

Generating Bitcoin addresses from a xpubkey

Via https://bitcointalk.org/index.php?topic=1242247.0 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,350 points
1,285 views
0 votes
1 answer

How to create address in BitcoinLib.

Regarding this specific library and assuming that ...READ MORE

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

How to solve Yobit API connection 503 server error?

Try to use "https://www.yobit.net/api/3/info" URL Instead of ...READ MORE

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

How do i add images in hyperledger?

In your registry, you can Base64-ify your ...READ MORE

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

How can I store picture in hypereldger channel?

Design of relationships between assets, participants and ...READ MORE

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

How to get current value of bitcoin?

You can use json_decode to transform it ...READ MORE

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

Getting error while building Bitcoind on MAC OS

First of all try building a non-GUI ...READ MORE

Aug 20, 2018 in Blockchain by slayer
• 29,350 points
576 views