Simplified Python programming for Bitcoin and blockchain Key Features Build Bitcoin applications in Python with the help of simple examples Mine Bitcoins, program Bitcoin-enabled APIs and transaction graphs, and build trading bots Analyze Bitcoin transactions and produce visualizations using Python data analysis tools Book Description 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. What you will learn Master the Bitcoin APIs in Python to manipulate Bitcoin from your Python apps Build your own Bitcoin trading bots to buy Bitcoins at a lower price and sell them at a higher price Write scripts to process Bitcoin payments through a website or app Develop software for Bitcoin mining to create Bitcoin currency on your own computer hardware Create your own keys, addresses, and wallets in Python code Write software to analyze Bitcoin transactions and produce reports, graphs, and other visualizations Who this book is for Hands-On Bitcoin Programming with Python consists of examples that will teach you to build your own Bitcoin application. You will learn to write scripts, build software for mining, and create Bitcoins using Python. Anyone with prior Python experience, who wants to explore Python Bitcoin programming and start building Bitcoin-driven Python apps, will find this book useful.
Author(s): Harish Kumar Garg
Publisher: Packt Publishing
Year: 2018
Language: English
Pages: 90
Title Page
Copyright and Credits
Hands-On Bitcoin Programming with Python
Humble-Bundle
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
Packt is searching for authors like you
Preface
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Getting Started with Bitcoin
Introduction to bitcoin and blockchains
What is bitcoin?
Uses of bitcoin
What is a blockchain?
Attributes of bitcoin and blockchain
Getting a bitcoin wallet
The different forms of bitcoin wallet
Getting and sending bitcoins
Summary
Programming Bitcoin and Blockchain with Python
Programming bitcoin with Python
Pi Bitcoin tools library
How to generate private keys and public keys
Creating a multisignature bitcoin address
Blockchain API programming with Python
Installing the Blockchain.info Python library
Getting bitcoin exchange rates from Blockchain.info
Statistics
Block explorer methods
Learning to mine bitcoin
How to mine bitcoin
Increasing difficulty in mining bitcoin
Summary
Earning Bitcoin Programmatically
Accepting bitcoin on your website
Introduction to BitPay
How to generate a bitcoin payment button
How to add a bitcoin payment button to your website
Building and releasing bitcoin-enabled APIs
21.co marketplace
21.co SDK
Selling microservices on the 21.co marketplace
Building a bitcoin trading bot
Triggering the bitcoin trade advice alert
How to get a current bid and asking price for bitcoin
The triggering of buy bitcoin
The triggering of sell bitcoin
Summary
Bitcoin Data Analysis
Manipulating and visualizing bitcoin price data
Getting set up for data analysis
Getting, reading in, and cleaning bitcoin price data
DataFrame
Data cleanup
Setting the index to the Date column
Exploring, manipulating, and visualizing the cleaned-up data
Data visualization
Exploring bitcoin transaction graphs
Bitcoin and blockchain graphs
Exploring, cleaning up, and analyzing data
Visualizing data
Collecting and analyzing Bitcoin Dice game data
Getting data from the Games Web API
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think