Skip to main content

Ape SDK for interacting with Aave protocols

Project description

Overview

Ape-based SDK for working with deployments of the Aave family of protocols

Dependencies

Installation

via pip

You can install the latest release via pip:

pip install aave

via uv

You can install the latest release via uv:

uv pip install aave

Quick Usage

Scripting

The 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)

CLI

TBD

Silverback

TBD

Development

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

Support for different parts of the Aave protocols:

  • V1 (deprecated)
  • V2 (deprecated)
  • V3 (actively used)
  • V4 (protocol unreleased)
  • Aave staking

License

This project is licensed under Apache 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aave-0.0.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aave-0.0.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file aave-0.0.0.tar.gz.

File metadata

  • Download URL: aave-0.0.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aave-0.0.0.tar.gz
Algorithm Hash digest
SHA256 55b8f775471e501216d492801e09b2e4c1c9a909caf2562339b62c4b96e751bc
MD5 3a875043166552feca8cd79d1c43b13c
BLAKE2b-256 864299b0485ea0eb47078a59e6e37aab1357782d90f5f8f488a6851d99791c3b

See more details on using hashes here.

File details

Details for the file aave-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: aave-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aave-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b5c6dfa1e035843a16ad8bcacfe38dac980af791bc0bae29f0f1bd39bf9cc15
MD5 8a71a3b00075c14bf6f8321c3f1d76fb
BLAKE2b-256 9b8ac5fd66fb3fe18764924596bc293545afeedf2e0883a21160d16182250928

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page