A simple blockchain application in Python.
Clone the project,
$ git clone https://github.com/DavidMRGaona/my-blockchain.gitInstall the dependencies,
$ cd python_blockchain_app
$ pip install -r requirements.txtStart a blockchain node server,
$ export FLASK_APP=node_server.py
$ flask run --port 8000set LANG=C.UTF-8
set FLASK_APP=node_server.py
flask run --port 8000
One instance of our blockchain node is now up and running at port 8000.
Run the application on a different terminal session,
$ python run_app.pyset LANG=C.UTF-8
set FLASK_APP=run_app.py
flask run --port 8000
The application should be up and running at http://localhost:5000.