A simple blockchain written in Python. The main aim is to develop an understanding how blockchain works.
-
Make sure Python 3.6+ is installed.
-
Clone this repository using
git clone https://github.com/nirmaldalmia/blockchain-demo
-
Run the server:
$ python blockchain.py -p 5001
$ python blockchain.py --port 5002
-
You can use plain old cURL or Postman to interact with the APIs over a network.