© Wei-Meng Lee 2019
W.-M. LeeBeginning Ethereum Smart Contracts Programminghttps://doi.org/10.1007/978-1-4842-5086-0_2

2. Implementing Your Own Blockchain Using Python

Wei-Meng Lee1 
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 blockchain. A good way to understand all these concepts would be to build one yourself. By implementing your own blockchain, you will have a more detailed look at how concepts like transactions, mining, and consensus work.

Obviously, implementing a full blockchain is not for the faint of heart, and that is definitely not our ...

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.