This is the source code for my post on Building a Blockchain.
- Make sure Python 3.6+ is installed
- Install requirements:
$ pip install -r requirements.txt
- Run the server:
$ python blockchain.py
$ python blockchain.py -p 5001
$ python blockchain.py --port 5002
Contributions are welcome! Please feel free to submit a Pull Request.