Modular Python SDK for programmatically managing dHEDGE v2 pools across multiple chains (Polygon, Arbitrum, Base, Optimism).
- Multi-Chain Support: Agnostic architecture.
- Direct Web3 Interactions: No legacy SDK dependencies.
- Secure: Strict environment variable usage, no hardcoded secrets.
- Type-Safe: Fully typed with
mypy. - Linted: Enforced code style with
ruff.
-
Install uv:
pip install uv
-
Install Dependencies:
uv pip install -r pyproject.toml # OR if using venv uv venv source .venv/bin/activate uv pip install -e .
-
Configure Environment:
cp .env.example .env # Edit .env with your keys
- Run tests:
pytest - Run linter:
ruff check .