This is a single- and multi-agent simulation of the IOTA Tangle, as described in the white-paper.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The code is run and tested with Python 3.6.3 on macOS 10.12.6. Create a virtual environment for Python 3 with:
virtualenv -p python3 envname
The used Python libraries/packages can be installed with:
make
or alternatively with:
pip install -r requirements.txt
The Python unittest module is used for testing. Run the tests with:
python -m unittest discover
Run the simulation with:
python core.py
In this file you can also change the configurations of the simulation.
- Manuel Zander