This repository contains Python simulations of the PeoPay-Core smart contract ecosystem. It is used to:
- Model governance attacks
- Validate the DCS (Dynamic Contribution Scoring) logic
- Project the economic "flywheel" effect
peopay/: Core Python implementation of Solidity contractssimulations/: CLI scripts for specific scenariosnotebooks/: Jupyter notebooks for visualization and investor presentations
Install dependencies:
pip install -r requirements.txtRun the Governance Simulation (Whale Attack):
python simulations/whale_vs_community.pyRun the Economic Model:
jupyter notebook notebooks/flywheel_visualization.ipynb