Practical Blockchains and Cryptocurrencies, 1st ed.
Speed Up Your Application Development Process and Develop Distributed Applications with Confidence

Language: English

79.11 €

In Print (Delivery period: 15 days).

Add to cartAdd to cart
Publication date:
489 p. · 17.8x25.4 cm · Paperback

Create cryptocurrency and blockchain applications by examining the key algorithms and concepts pertaining to blockchains, transaction processing, mining, distributed consensus, and anonymous currencies. In this book, you?ll develop a fully functional cryptocurrency from scratch in the Python language. Practical Blockchains and Cryptocurrencies is a reference for development of blockchain applications and provides you with rigorous information on cryptography and the theory underlying blockchains.

This book consists of small chapters that focus on particular topics. You?ll start with a short history of money. Next, you will survey the bitcoin and altcoin ecosystem before delving into cryptographic hash functions, symmetric encryption, public key cryptography, and digital signatures. All the mathematics required to develop blockchain applications is covered. The emphasis is on providing a lucid and rigorous exposition on the nature and working of these constructs.

The next major segment of the book discusses the key concepts and algorithms required to develop blockchain and cryptocurrency applications. There are expositions on blockchain construction, Merkle trees, peer-to-peer networks, cryptocurrency addresses, transactions, and mining. You?ll take a deep dive into the formation of consensus in distributed systems.

In this book you?ll develop a fully functional cryptocurrency called Helium from scratch in Python. The language requirements are modest since it is presumed that most readers will not be acquainted with Python. The entire source code and unit test code is included in this book.

Practical Blockchains and Cryptocurrencies interleaves theory and Helium program code chapters in order to demonstrate the practical application of theory in working Helium program code.      


What You Will Learn    

  • Gain the mathematical foundations as well as the concepts and algorithms of blockchains and cryptocurrencies
  • Implement a cryptocurrency from scratch in Python
  • Master the design of distributed blockchain applications    


Who This Book Is For    

Anyone interested in creating cryptocurrency and blockchain applications

Chapter 1: A Short History of Money.- Chapter 2: The Cryptocurrency Ecosystem.- Chapter 3: Symmetric Encryption.- Chapter 4: Cryptographic Hash Functions.- Chapter 5: The Alchemy of Public Key Cryptosystems.- Chapter 6: The Constructor's Guide to Blockchains.- Chapter 7: The Helium Cryptocurrency Project.- Chapter 8: The Helium Blockchain.- Chapter 9: Cryptocurrency Transaction Processing.- Chapter 10: Merkle Trees.- Chapter 11: Helium Transaction Processing.- Chapter 12: The Chainstate.- Chapter 13: Mining Cryptocurrency.- Chapter 14: Helium Mining.- Chapter 15: The Helium Network.- Chapter 16: Blockchain Maintenance.- Chapter 17: Helium Wallet Construction.- Chapter 18: The Helium Testnet.- Appendix 1: Setting Up a Python Virtual Environment.- Appendix 2: Installing LevelDB for Helium.- Appendix 3: Unit Tests with Pytest.- Appendix 4: Making Concurrent Python Programs.- Appendix 5: Object Persistence with Pickle.- Appendix 6: Helium Remote Procedure Calls.- Appendix 7: Simulated Blockchain Automation.- Appendix 8: Helium Data Structures.- Appendix 9: Helium Database Maintenance.- Appendix 10: Helium Source Code Listing.-

Karan Singh Garewal is an attorney at law in Canada. He has over 20 years of software development experience in C, C++, Go, JavaScript, Node, Ruby/Rails, Python/Django, Vue, PostgresSQL, MySQL, and Cassandra. His current interests are in financial engineering and real-time algorithmic trading systems. He is developing a neural network cryptocurrency trading platform on a C++, Go, Cassandra, and Vue stack.

A complete guide to cryptography and its application in blockchain algorithms Constructs a fully functional cryptocurrency in Python Contains concepts about the development of anonymous cryptocurrencies