Book Image

Hands-On Bitcoin Programming with Python

By : BignumWorks Software LLP
Book Image

Hands-On Bitcoin Programming with Python

By: BignumWorks Software LLP

Overview of this book

Bitcoin is a cryptocurrency that’s changing the face of online payments. Hands-On Bitcoin Programming with Python teaches you to build software applications for mining and creating Bitcoins using Python. This book starts with the basics of both Bitcoin and blockchain and gives you an overview of these inherent concepts by showing you how to build Bitcoin-driven applications with Python. Packed with clear instructions and practical examples, you will learn to understand simple Python coding examples that work with this cryptocurrency. By the end of the book, you’ll be able to mine Bitcoins, accept Bitcoin payments on the app, and work with the basics of blockchain technology to create simply distributed ledgers.
Table of Contents (6 chapters)

Getting and sending bitcoins

Bitcoins can be bought from an exchange website. One example of an exchange website is Coinbase.info, and bitcoin.org lists a lot of these exchange websites. Some operate globally and some are specific to a particular country or a region, depending on the laws of that country. There are exchanges available for all regions and countries of the world. For example, one of the most popular ones is Coinbase.com. Here, bitcoins can be sent and sold, and you can see your account details, containing information on what bitcoins you hold with them.

You can also buy bitcoins from bitcoin ATMs. One of the best websites to use to find your local bitcoin ATM is https://coinatmradar.com/. For example, the following screenshot shows a map of the United States, where you can see all the available bitcoin ATMs where you can buy bitcoin:

You can also buy bitcoins in person from other users. The locations of people who are interested in selling bitcoins can be found at https://localbitcoins.com/. In the following screenshot, we can see all the people in the United States who are interested in selling bitcoins. Bitcoins can be bought from this site by other users. You can also sell bitcoins to other users who are interested in buying them:

There are also a lot of places where we can spend bitcoins online on products and services. One of the sites to find these places is https://spendabit.co/. From this site, we can search for the products from sellers who accept bitcoins as payment.

For example, when we perform a sample search of toaster in the search bar, it will show all the listings from the sellers who are selling this product and are ready to accept bitcoins as payment.

Another place to find businesses that accept bitcoins is http://99bitcoins.com. This website contains a list of companies that accept bitcoins as payment. There are a lot of well-known names that are listed, as shown in the following list:

  • WordPress: Allows people to create blogs
  • Overstock: The online retailer
  • Subway: Accepts bitcoins
  • Microsoft: Users can buy content with bitcoin on Windows store
  • Reddit: Buy premium features with bitcoins

If you are interested in searching for local businesses that accept bitcoins, you can search for them at coinmap.org.