Skip to main content

An unofficial Python3.9+ package that wraps Aave staking smart contracts

Project description

Aave V2 DeFi Client for Web3.py

NOTE: This is the beta version of the client. More docs to come...

Overview:

The Aave V2 DeFi Client is a Python wrapper for the core functionality on the Aave V2 DeFi lending protocol built using only two 3rd party packages, web3 and requests.

Currently only the Ethereum mainnet and Kovan testnet are supported.

Setup

  1. Ensure that you are using Python version 3.9+
  2. Install the package using pip:
    pip install aave-python
    
  3. Repare your HTTP providers for the Ethereum mainnet and/or Kovan testnet.

Usage:

  • You can find examples for the client's functionality in the usage_examples directory.

How to Get Kovan Testnet WETH:

  1. Enter your public wallet address at ethdrop.dev and get ETH
  2. Use the usage_examples/get_kovan_weth.py script to convert your testnet ETH to ERC-20 WETH that can be deposited to Aave.

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_python-0.2.0.tar.gz (16.6 kB view hashes)

Uploaded Source

Supported by

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