Skip to content

VoteTheWorld/AAVE-V3-Borrow-Scripts

Repository files navigation

AAVE v3-core borrow scripts

  1. get WETH address

  2. deposit eth and get weth (after approve)

  3. get user data to see how much we can borrow

  4. calculate the amount we want to borrow

  5. borrow from the pool contract

  6. repay to the contract(after approve)

  7. update: the mainnet fork does not make sense and cannot borrow DAI!!!

About

The scripts to interact with aave v3 protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published