Skip to content

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages