Advertisement
MAS7891

How To Build a Bitcoin Currency Converter Using the Blockcha

Nov 13th, 2016
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. How To Build a Bitcoin Currency Converter Using the Blockchain.info APIs
  2.  
  3. he rise of Bitcoin has resulted in the development of a variety of services that enable individuals and companies to track Bitcoin, create and manage Bitcoin wallets, and perform transactions using the cryptocurrency.
  4.  
  5. One of the most popular Bitcoin websites, Blockchain.info, has a suite of Bitcoin APIs and in this tutorial, we’ll look at how two of those can be used to build a Bitcoin currency conversion application.
  6.  
  7. Getting started
  8.  
  9. To start, you will need a hosting account that supports PHP 5.0 or greater and has the PHP curl module installed. In the root web directory of your hosting account, create two empty PHP files, index.php and converter.php.
  10.  
  11. The index page
  12.  
  13. Our index page, index.php, should contain a form that we can use to prompt the user for information about the currency conversion desired. In the empty index.php file, paste the following code: http://viid.me/95IId
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement