Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 768 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 768 Bytes

Learn Blockchains by Building One

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.

Example Use in Docker

One option for running this blockchain program is to use Docker. Follow the instructions below to create a local Docker container:

  1. Clone this repository
  2. Build the Docker container
$ docker build -t blockchain .
  1. Run the container
$ docker run --rm -p 80:5000 blockchain
  1. 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