Ape-based SDK for working with deployments of the Aave family of protocols
You can install the latest release via pip:
pip install aaveYou can install the latest release via uv:
uv pip install aaveThe SDK can be used for any scripting task:
>>> from aave import Aave
>>> aave = Aave()
>>> market = Aave.all_markets[0]
>>> pos = market.get_position(<acct>)
>>> pos.ltv
Decimal('0.56')
>>> pos.health_factor
Decimal('1.48')
>>> pos.repay("<TOKEN>", amount="100 TOKEN", sender=me)TBD
TBD
This project is in development and should be considered a beta. Things might not be in their final state and breaking changes may occur. Comments, questions, criticisms and pull requests are welcomed.
Support for different parts of the Aave protocols:
- V1 (deprecated)
- V2 (deprecated)
- V3 (actively used)
- V4 (protocol unreleased)
- Aave staking
This project is licensed under Apache 2.0.