© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
W.-M. LeeBeginning Ethereum Smart Contracts Programminghttps://doi.org/10.1007/978-1-4842-9271-6_3

3. Implementing Your Own Blockchain Using Python

Wei-Meng Lee1  
(1)
Ang Mo Kio, Singapore
 

In the previous chapter, you learned about the basics of blockchain, the motivations behind blockchains, how transactions are added to blocks, and how blocks are added to the previous blocks to form a chain of blocks called a blockchain. A good way to understand all these concepts is to build one yourself. Implementing your own blockchain offers you a more detailed look at how concepts like transactions, mining, and consensus work.

Obviously, implementing a full blockchain ...

Get Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.