/ibm_blockchain

A mini blockchain application in pure Python

Primary LanguagePython

ibm_blockchain

Developing a blockchain application from scratch in Python

Explained in detail here

Instructions to run

Start a blockchain node server,

>>> python node_server.py

Run our application,

>>> python run_app.py

The application should be up and running at http://localhost:5000.

Here are a few screenshots

  1. Posting some content

image.png

  1. Requesting the node to mine

image.png

  1. Resyncing with the chain for updated data

image.png

To play around by spinning off multiple custom nodes, use the add_nodes/ endpoint to register a new node. To update the node with which the application syncs, change CONNECTED_NODE_ADDRESS field in the views.py file.