This project is a modification of GiorgDiama's SymBChainSim, which can be found here. The main structure of SymBChainSim has been utilized and some modifications have been made to suit the requirements of my simulation.
The simulation code is part of my academic research, where I aim to investigate the Proof of Authority (PoA) blockchain and small-world network structures.
It is recommended to create a new virtual environment using Python version 3.11.0, as this was the version used during development.
You can create a virtual environment using:
Once you have your virtual environment set up, navigate to the cloned project and follow these steps:
- Run
pip install -r requirements.txt
to install the required Python libraries. - Set your desired simulation parameters in
Configs/base.yaml
. If you wish to use a different file, you can do so by editingenv_vars.yaml
. Please note that all configuration files must be located in theConfigs
directory. - Run
python blockchain.py
to start the simulation.
Each module is extensively documented with docstring comments. If the simulation runs successfully, you can start using and extending it as necessary for your work.
Special thanks to GiorgDiama for the original SymBChainSim project, which served as the foundation for this work.