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,908 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
489 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,607 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,017 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
382 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,123 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
470 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,226 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
548 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,449 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
897 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,160 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
435 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
770 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,202 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
494 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
884 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
546 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,260 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,101 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,332 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
711 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
746 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
403 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
493 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,991 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
915 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,212 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
950 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
975 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,321 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
911 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
733 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
362 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
403 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,903 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,154 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,062 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
394 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
540 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,133 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
497 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,009 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,279 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
920 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
618 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
371 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
383 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
581 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
570 views