FlashloanUsecases icon indicating copy to clipboard operation
FlashloanUsecases copied to clipboard


Logo

DeFi 201 - Lets hack Flash Loans

Freeze time/space with Flash Loans
Explore the AAVE dev Flash Loans docs »
Logo
Contact us · Report Bug · Request Feature

Table of Contents

  • Program Basics Flash Loan
  • Program a Arbitrage Flash Loan
  • Create your own Arbitrage opportunity
  • Useful links
  • DeFi === Financial Revolution
  • Contact
  • Acknowledgements

Program Basics Flash Loan

Let's start with the basics the goal is for you to initiate a Flash Loan Transnaction from the AAVE Kovan Test pool.

  • Setup Remix http://remix.ethereum.org/
  • Get some Kovan Test Net ETH https://faucet.kovan.network/
  • Get some AAVE Test Net tokens https://testnet.aave.com/faucet
  • GoTo--> contracts/sample/flashloan.sol
  • Load the contract in Remix and deploy the contract
  • Fill all paramenters as explaind in the video
  • Exicute the Flash loan (Be Sure to have enouge DAI to pay the FEES)
  • If there are any questions, issues or future requests please submit an issue

Product Name Screen Shot

Program a Arbitrage Flash Loan

  • Setup Remix http://remix.ethereum.org/
  • Get some Kovan Test Net ETH https://faucet.kovan.network/
  • Get some AAVE Test Net tokens https://testnet.aave.com/faucet
  • GoTo--> contracts/arbitrage/arbitrage.sol
  • Load the contract in Remix and deploy the contract
  • Fill all paramenters as explaind in the video
  • GoTo Uniswap V1 & Uniswap V2 and see if you can find an arbitrage operunity
  • Exicute the Arbitrage Flash loan (Be Sure to have enouge DAI to pay the FEES)
  • If there are any questions, issues or future requests please submit an issue

uniswap arbitrage defi201

Create your own Arbitrage opportunity

  • Setup Remix http://remix.ethereum.org/
  • Get some Kovan Test Net ETH https://faucet.kovan.network/
  • Get some AAVE Test Net tokens https://testnet.aave.com/faucet
  • GoTo--> contracts/arbitrage/arbitrage.sol
  • Load the contract in Remix and deploy the contract
  • Fill all paramenters as explaind in the video
  • GoTo Uniswap V1 & Uniswap V2 and add your token with both diffrent prices
  • Exicute the Arbitrage Flash loan (Be Sure to have enouge DAI to pay the FEES)
  • If there are any questions, issues or future requests please submit an issue

create your own arbitrage opportunity

Useful links

Here are useful links

DeFi === Financial Revolution

DeFi === Financial Revolution

Contact

Amadeo Brands - @amadeobrands - [email protected]
Guilherme Viana - @ggviana - [email protected]
Robson Silva - @robsjr - [email protected]

See more DeFi resources@ ON-->DeFi
See the Full DeFi 201 course and many more courses @The Ivan On Tech Academy

banner

Acknowledgements