Hands-On Bitcoin Programming with Python
Build powerful online payment centric applications with Python
Harish Kumar Garg
BIRMINGHAM - MUMBAI
Hands-On Bitcoin Programming with Python
Copyright 2018 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Pravin Dhandre
Acquisition Editor: Karan Jain
Content Development Editor: Ronnel Mathew
Technical Editor: Dinesh Pawar
Copy Editor: Safis Editing
Project Coordinator: Nidhi Joshi
Proofreader: Safis Editing
Indexer: Tejal Daruwale Soni
Graphics: Jisha Chirayil
Production Coordinator: Arvindkumar Gupta
First published: August 2018
Production reference: 1280818
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78953-700-0
www.packtpub.com
mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
PacktPub.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.
At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the author
Harish Kumar Garg founder of BignumWorks Software LLP, is a data scientist and a lead software developer with 17 years' experience in the software industry. BignumWorks Software LLP is an India-based software consultancy that provides consultancy services in the area of software development and technical training. Harish has worked for McAfee and Intel for over 11 years. He is an expert in creating data visualizations using R, Python, and web-based visualization libraries.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
In this book, you will be introduced to Bitcoin and Blockchain, and how to take part in the Bitcoin ecosystem. You will learn about Bitcoin and its features, Blockchain, and how both can work together. You'll also learn how to use Pi Bitcoin tools to program Bitcoin with Python. You will learn about interacting with Blockchain APIs programmatically with Python, and about Bitcoin mining and how to get started with it. We will also explore Bitcoin trading bots. This book also deals with exploring and analyzing the tremendous amount of data being generated in the Bitcoin ecosystem; how to get, clean, manipulate, and visualize Bitcoin price data; and how to analyze a Bitcoin dice game's data using Python's data analysis tools.
What this book covers
, Getting Started with Bitcoin , introduces Bitcoin and Blockchain, and how to take part in the Bitcoin ecosystem. We will learn about Bitcoin and its features, Blockchain, how both work together, and what the differences between them are. Also, we will explore how to get a Bitcoin wallet and how to start using it, along with how to send and spend Bitcoin.
, Programming Bitcoin and Blockchain with Python , explores Bitcoin and Blockchain API's programmatically. Also, we will learn how to get started with mining Bitcoin.
, Earning Bitcoin Programmatically , demonstrates how to start accepting Bitcoin as a payment method. We will also learn how to build and sell API-based microservices to earn Bitcoin and explore Bitcoin trading bots.
, Bitcoin Data Analysis , explores and analyzes the tremendous amount of data being generated in the Bitcoin ecosystem.
To get the most out of this book
Anyone with some Python experience who wants to explore Python Bitcoin programming and start building Bitcoin-driven Python apps will benefit from this book.
Download the example code files
You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
- Log in or register at www.packtpub.com.
- Select the SUPPORT tab.
- Click on Code Downloads & Errata .
- Enter the name of the book in the Search box and follow the onscreen instructions.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
- WinRAR/7-Zip for Windows
- Zipeg/iZip/UnRarX for Mac
- 7-Zip/PeaZip for Linux
The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/ Hands-On-Bitcoin-Programming-with-Python . In case there's an update to the code, it will be updated on the existing GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/ . Check them out!
Next page