-
get WETH address
-
deposit eth and get weth (after approve)
-
get user data to see how much we can borrow
-
calculate the amount we want to borrow
-
borrow from the pool contract
-
repay to the contract(after approve)
-
update
: the mainnet fork does not make sense and cannot borrow DAI!!!
-
Notifications
You must be signed in to change notification settings - Fork 1
VoteTheWorld/AAVE-V3-Borrow-Scripts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The scripts to interact with aave v3 protocol
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published