Simple Blockchain System for NTUA ECE Course Distributed Systems
- Python
- Flask
- HTML/CSS
- JQuery
The user can interact with the system by using a simple CLI or the Webapp Interface. In Noobcash App you will register nodes and simulate a blockchain system, through processes of sending and receiving money(NBC Coins), consensus, proof of work, mining etc. At the start of the system the first node to register should be the bootstrap node who will create the genesis block. After all the "children" nodes have registered the bootstrap node will give each one of them 100 NBC. Now the transactions can begin.
Inside the folder Project:
- pip install -r requirements.txt
- npm install
- bootstrap node:
python <PORT> <IP> <Number of Children in the System> true
example:python 5000 127.0.0.1 2 true
- simple node:
python <PORT> <IP> <Number of Children in the System> no
example:python 5001 127.0.0.1 2 false
- Open Web Interface: Open at your browser the IP and PORT the node is registered.
- Run CLI:
cli.py <PORT> <IP>
If you want to run the tests inside the folders 5nodes and 10nodes replace app.py with app_auto.py.