StableSims is an open-source research project aimed at optimizing MakerDAO Liquidations 2.0 incentive parameters (chip
and tip
).
This project is conducted through Blockchain @ Berkeley, and TAKES NO CREDIT FOR THE MAKER PROTOCOL LOGIC THAT WAS COPIED VERBATIM FROM THE SOURCE CODE.
You can find the summary of our findings in our research paper.
- Make sure you have Docker installed.
- Clone the repo
- Create a docker container to run the simulations in:
docker run -it -v PATH_TO_REPO:/stablesims python:3.9 bash
- Inside the docker shell, run:
cd stablesims
pip install -r requirements.txt
- To run the simulation, run:
python run.py