This is a simple python interface to interact with AAVE v3 lending pool, including: supply/deposit, borrow and repay.
Steps:
- Swap ETH for WETH
- Deposit/supply some WETH into the Aave Lending Protocol.
- Borrow some asset using the ETH collateral
- Short sell the borrowed asset via DEX. (ongoing)
- Repay everything back
Testing method:
- Integration test:
sepolia
testnet - 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)