A block chain (ABC) is a project intended to explore the underlying technology of block chains and cryptocurrencies like bitcoin. This project will be built in python for simplicity and readability so that users/readers can explore the code in the learning process. This article is intended to provide readers a better understanding of how cryptocurrencies like bitcoin work and how to go about developing a simple block-chain implementation.
The core functions we will discuss, explore and develop are the following:
- Creating blocks
- Mining blocks
- Communication with other nodes
- Proof of work algorithms
- Transactions
$ docker build -t abc .
$ docker run -it --rm -p 80:5000 abc
$ docker run -it --rm -p 80:5001 abc
$ docker run -it --rm -p 80:5002 abc