Skip to content

👻 Deposit, borrow and repay ERC20 tokens programmatically using Aave protocol

Notifications You must be signed in to change notification settings

bsureau/Explore-DeFi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

This repo requires a mainnet rpc provider, but don't worry! You won't need to spend any real money. We are going to be forking mainnet, and pretend as if we are interacting with mainnet contracts.

All you'll need, is to set a MAINNET_RPC_URL environment variable in a .env file that you create. You can get setup with one for free from Alchemy.

Run:

yarn hardhat run scripts/aaveBorrow.js

About

👻 Deposit, borrow and repay ERC20 tokens programmatically using Aave protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published