Trending questions in Blockchain

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
1,349 views
0 votes
1 answer

First block of bitcoin block gives empty string

Most likely the first byte is not ...READ MORE

Sep 4, 2018 in Blockchain by slayer
• 29,370 points
829 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
1,646 views
0 votes
1 answer

Coinbase currency_exchange error

This is the fix: $(document).ready(function () { ...READ MORE

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

Current JSON package to retrieve info from links

public static String btcvalue(){ ...READ MORE

Sep 6, 2018 in Blockchain by slayer
• 29,370 points
733 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,370 points
1,416 views
0 votes
1 answer

Is it possible to claim BCH without knowing private key?

You can't claim BCH without knowing private ...READ MORE

Sep 5, 2018 in Blockchain by Christine
• 15,790 points
766 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
1,289 views
0 votes
1 answer

Cannot download nvm install v.8.9.1 version - clang checksum do not match, sed issue

Try a clean install of node again npm ...READ MORE

Jul 25, 2018 in Blockchain by charlie_brown
• 7,720 points
2,572 views
0 votes
1 answer

eth.getBalance() always returns 0 in testnet

You are not connecting to the right ...READ MORE

Jul 24, 2018 in Blockchain by Christine
• 15,790 points
2,608 views
+1 vote
1 answer

How do I use ZF2 I18n currencyformatter to format bitcoin?

From ZF2's documentation at http://framework.zend.com/manual/2.3/en/modules/zend.i18n.view.helpers.html I found the following ...READ MORE

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

Vertically centering text in a div

Try this code: .smallUnitBox { ...READ MORE

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

How do transactions create a new block in Blockchain?

Bitcoin puts a cap of 2,400 transactions ...READ MORE

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

python-bittrex missing positional arguments

Looking at the source code from ericsomdahl/python-bittrex For the buy_limit function ...READ MORE

Sep 6, 2018 in Blockchain by slayer
• 29,370 points
693 views
0 votes
1 answer

Bitstamp API signature in Ruby

Here is a code that works: require 'open-uri' require ...READ MORE

Aug 28, 2018 in Blockchain by slayer
• 29,370 points
1,074 views
+1 vote
1 answer

Need to convert bitcoin address function from php to Jquery

Use AJAX. It will be easier to ...READ MORE

Sep 5, 2018 in Blockchain by digger
• 26,740 points
674 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,359 views
0 votes
1 answer

How to generate addresses from a file rather than specific phase

If the file with the passwords is ...READ MORE

Sep 7, 2018 in Blockchain by MI3
618 views
0 votes
2 answers

Passing AJAX GET results to location

Set a variable in global scope and ...READ MORE

Sep 4, 2018 in Blockchain by eddy
699 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,370 points
1,292 views
0 votes
1 answer

How to connect a NS3 node to my local blockchain?

To connect all your nodes with all ...READ MORE

Jul 25, 2018 in Blockchain by digger
• 26,740 points
2,504 views
0 votes
1 answer

(0.7/0.001)%10 does not return 0

bcmath module can help you bcmod(bcdiv("0.7", "0.001"), "10"); // ...READ MORE

Aug 31, 2018 in Blockchain by digger
• 26,740 points
891 views
0 votes
2 answers

Truffle migrate gives “ Error: No network specified. ”

You have to mention on which network ...READ MORE

Aug 13, 2018 in Blockchain by Omkar
• 69,220 points
1,708 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,370 points
1,227 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,306 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,370 points
1,251 views
0 votes
1 answer

"Blocking waiting for a file lock on the registry index" after building parity from source

I had the same issue and got ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
1,015 views
0 votes
1 answer

How to retrieve data from an Ethereum Block?

To get transaction details like Block Hash ...READ MORE

Jul 19, 2018 in Blockchain by Perry
• 17,100 points
2,703 views
0 votes
1 answer

'ppa:ethereum' error while installing ethereum on ubuntu

First try: sudo apt-get install --reinstall ca-certificates If ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,370 points
3,001 views
0 votes
1 answer

timmolter/XChange - Cryptsy GetFee

if(VolumeInBTC < 0.5){ ...READ MORE

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

Bitcoin payment system not working

I found the problem, it was actually ...READ MORE

Aug 30, 2018 in Blockchain by slayer
• 29,370 points
876 views
0 votes
1 answer

Hyperledger Fabric CA "Failed to get user: User not found"

The problem could be because of the ...READ MORE

Jul 23, 2018 in Blockchain by digger
• 26,740 points
2,510 views
0 votes
1 answer

Trying to deploy fabric v1.1.0 on Kubernetes but getting a random error

Any particular reason for following slightly older ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
983 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
1,204 views
0 votes
1 answer

How to access member functions of smart contract using web3?

I have implemented a similar feature and ...READ MORE

Aug 13, 2018 in Blockchain by slayer
• 29,370 points
1,595 views
0 votes
1 answer

Transaction Verification in Blockchain

Yes if your transaction was lucky enough ...READ MORE

Sep 5, 2018 in Blockchain by Christine
• 15,790 points
587 views
0 votes
1 answer

Problems using system() commands under Windows

You need to have double \ for ...READ MORE

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

What encoding or data type can be used to get alphanumeric string in elixir?

Integers in Elixir are arbitrary precision integers, ...READ MORE

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

Android Socket connection to bitcoin node

The checkSum field is mandatory and fellow ...READ MORE

Aug 29, 2018 in Blockchain by slayer
• 29,370 points
877 views
0 votes
1 answer

Ethereum smart contract event trigger notification

I have an example here for web3js ...READ MORE

Aug 1, 2018 in Blockchain by slayer
• 29,370 points
2,080 views
0 votes
1 answer

How can i extract information from Ethereum blockchain using python?

Give the RPC (--rpc) option when you ...READ MORE

Jul 31, 2018 in Blockchain by Shashank
• 10,400 points
2,102 views
0 votes
1 answer

Cant locate english.txt file while intalling Python Bitcoin module

This is related to a pybitcointools bug where the ...READ MORE

Aug 30, 2018 in Blockchain by slayer
• 29,370 points
801 views
0 votes
1 answer

Error while running curl command in Docker Quickstart Terminal

You can get the new version of ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,370 points
2,918 views
0 votes
1 answer

How to proceed after connecting with hardcoded node?

I am assuming that by hardcoded nodes ...READ MORE

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

How to get property of non object in Coinbase API

First, your sendMoney() call is stored into ...READ MORE

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

Raw block with bitcoinj

This should work: BlockStore blockStore = new MyCustomBlockStore(NETWORK_PARAMETERS); blockStore.getChainHead(); blockChain ...READ MORE

Aug 28, 2018 in Blockchain by slayer
• 29,370 points
878 views
0 votes
1 answer

How to join a peer to a channel in Hyperledger Fabric?

When you run the command: peer channel create ...READ MORE

Jul 31, 2018 in Blockchain by digger
• 26,740 points
2,083 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,220 points
4,507 views
0 votes
1 answer

How to create a version control for a simple array using blockchain?

For tracking changes you may simply save ...READ MORE

Aug 31, 2018 in Blockchain by Christine
• 15,790 points
772 views