AAVE-Defi-Sample

Simple Defi script interacting with the AAVE protocol:

  1. Takes your ETH, transfers it to wrapped eth
  2. Verifies the wrapped eth to be used in AAVE
  3. Checks how much collateral you have and calculates how much DAI you can borrow
  4. Borrows DAI
  5. Repays it