An educational python implementation of a bitcoin-like blockchain

17 Dec 2017 | Programming

I’ve been loosely following the cryptocurrency stories over the past few years. When someone posted a link to the original Bitcoin paper on Hacker News a few days ago, I was amazed at how concise and elegant the paper was.

After reading it, I decided to do a toy blockchain implementation in Python to understand the inner workings better.

The result is a jupyter notebook that implements most of the ideas found in the Bitcoin paper. It’s pretty far from being a full implementation of the whole Bitcoin protocol, but that wasn’t the goal.

I posted it to Hacker News and the reception was pretty positive. I even made it to the top \o/

comments

blog comments powered by Disqus