2017-09-24 21:44:13 +02:00
|
|
|
|
# Learn Blockchains by Building One
|
|
|
|
|
|
|
|
|
|
This is the source code for my post on [Building a Blockchain](https://medium.com/p/117428612f46).
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
1. Make sure [Python 3.6+](https://www.python.org/downloads/) is installed
|
|
|
|
|
1. Install requirements: `$ pip install -r requirements.txt`
|
2017-10-01 22:37:17 +02:00
|
|
|
|
1. Run the server:
|
|
|
|
|
* `$ python blockchain.py`
|
|
|
|
|
* `$ python blockchain.py -p 5001`
|
|
|
|
|
* `$ python blockchain.py --port 5002`
|
2017-09-24 21:44:13 +02:00
|
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
|
|
Contributions are welcome! Please feel free to submit a Pull Request.
|