Quick Start:
- Copy .env.example to .env and set RPC_URL
- Create new venv
python -m venv .venv
- Activate venv
source .venv/bin/activate
- Install dependencies
pip install -r requirements.txt
export RPC_URL= <YOUR_RPC_URL>
- In one terminal, run the backend with
gunicorn backend.app:app -c gunicorn_config.py
(this might take a while to start up) - In another terminal, run the frontend with
streamlit run src/main.py
Current Metrics:
- Largest perp positions
- Largest spot borrows
- Account health distribution
- Most levered perp positions > $1m notional
- Most levered spot borrows > $750k notional