abrosua / aave-v3-interface

Simple AAVE v3 lending interface to supply collateral and borrow/repay tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AAVE v3 Simple Interface

This is a simple python interface to interact with AAVE v3 lending pool, including: supply/deposit, borrow and repay.

Steps:

  1. Swap ETH for WETH
  2. Deposit/supply some WETH into the Aave Lending Protocol.
  3. Borrow some asset using the ETH collateral
    1. Short sell the borrowed asset via DEX. (ongoing)
  4. Repay everything back

Testing method:

  1. Integration test: sepolia testnet
  2. Unit test: mainnet-fork (since we do NOT deploy our own contract and oracle usage is NOT required, just fork Aave's contracts from the Ethereum mainnet)

About

Simple AAVE v3 lending interface to supply collateral and borrow/repay tokens

License:MIT License


Languages

Language:Solidity 76.0%Language:Python 24.0%