This is the source code for Daniel van Flymen's post on Building a Blockchain.
Adapted by Ben Galloway for use at UAE Cyber Quest 2018.
One option for running this blockchain program is to use Docker. Follow the instructions below to create a local Docker container:
- Clone this repository
- Build the Docker container
$ docker build -t blockchain .
- Run the container
$ docker run --rm -p 80:5000 blockchain
- To add more instances, vary the public port number before the colon:
$ docker run --rm -p 81:5000 blockchain
$ docker run --rm -p 82:5000 blockchain
$ docker run --rm -p 83:5000 blockchain