Skip to content

blockflow/28_Defi_Intro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to Defi - Aave Flash Loan Lab

Aave Banner

##Adapted from

Installation and Setup

  • Clone the Repo.
  • Open a Moralis Account and set a server
  • Get a link to connect your metamask to Avalanche Fuji (This is the network used in the code)
  • Copy the contents of the solidity folder into Remix.
  • Connect your remix to injected web3 (Avalanche Fuji)
  • Deploy the MockArbitrage and FlashloanDemo contract.
  • Copy the addresses to the Logic.js in the UI folder.
  • Launch the UI.
  • Get Wavax from the Avalanche Faucet and Wrap some into Wavax (See references for the links to the Faucet and Wrapper contract)
  • Create your own arbitrage by depositing Wavax in the MockArbitrage contract.
  • Decide how much required Wavax your MockArbitrage will require to take the Arbitrage.
  • Check the liquidity in the Aave staging protocol and provide your own liquidity if needed.
  • Run the functions in the UI.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 74.1%
  • JavaScript 20.5%
  • HTML 5.4%