- Create python virtual environment:
python -m venv venv
- Switch to virtual environment:
source venv/bin/activate
- Install packages
pip install -r requirements.txt
- To run the application, use the following command:
python basic_blockchain_expanded.py
. The application will start a Flask server on http://127.0.0.1:5000.
MontyCoin is a simple implementation of a blockchain and cryptocurrency.
- Run
chmod +x run.sh
andchmod +x stop.sh
from scripts directory to make scripts executable - Run
start.py
from currency directory to start node controller and wallet GUIs. The servers (nodes) with./run.sh
. This will start 4 nodes on http://127.0.0.1:5000 - http://127.0.0.1:5003
- Copy HelloWorld.sol into Remix. Compile. Deploy to MetaMask.
- Copy ABI and deployed contract address into config.js
- Use http-server to run index.html/app.js frontend client
- Use Sepolia etherscan to view contract transactions