Please find it here: https://github.com/dvf/blockchain-book
The book is available on Amazon: https://www.amazon.com/Learn-Blockchain-Building-Understanding-Cryptocurrencies/dp/1484251709
This is the source code for my post on Building a Blockchain.
$ pip install pipenv
$ pipenv install
$ pipenv run python blockchain.py
$ pipenv run python blockchain.py -p 5001
$ pipenv run python blockchain.py --port 5002
Another option for running this blockchain program is to use Docker. Follow the instructions below to create a local Docker container:
$ docker build -t blockchain .
$ docker run --rm -p 80:5000 blockchain
$ docker run --rm -p 81:5000 blockchain
$ docker run --rm -p 82:5000 blockchain
$ docker run --rm -p 83:5000 blockchain
Install a free copy of Visual Studio IDE (Community Edition): https://www.visualstudio.com/vs/
Once installed, open the solution file (BlockChain.sln) using the File > Open > Project/Solution menu options within Visual Studio.
From within the "Solution Explorer", right click the BlockChain.Console project and select the "Set As Startup Project" option.
Click the "Start" button, or hit F5 to run. The program executes in a console window, and is controlled via HTTP with the same commands as the Python version.
Contributions are welcome! Please feel free to submit a Pull Request.