- Make sure Python 3.6+ is installed.
- Install pipenv.
$ pip install pipenv
- Create a virtual environment and specify the Python version to use.
$ pipenv --python=python3.6
- Install requirements.
$ pipenv install
- Run the server:
$ pipenv run python blockchain.py
$ pipenv run python blockchain.py -p 5001
$ pipenv run python blockchain.py --port 5002
Use Postman to interact with the API
/transaction/new, /mine, /chain, /noedes/register
- Implemented Basic Proof of Work
- Implemented Consensus Algorithm
Use this amazing article for the reference.