The repository simulates maximal extractable value (MEV) attacks and models a new MEV-resistant consensus mechanism.
git clone https://github.com/xujiahuayz/pbs.git
cd pbs
chmod +x setup_repo.sh
./setup_repo.sh
. venv/bin/activate
or follow the step-by-step instructions below between the two horizontal rules:
- MacOS / Linux
python3 -m venv venv
- Windows
python -m venv venv
- MacOS / Linux
. venv/bin/activate
- Windows (in Command Prompt, NOT Powershell)
venv\Scripts\activate.bat
pip install toml
pip install -e ".[dev]"
pre-commit install