DeFi 201 - Lets hack Flash Loans
Freeze time/space with Flash Loans
Explore the AAVE dev Flash Loans docs ยป
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
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
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
Useful links
Here are useful links
- Remix
- Performing a Flash Loan AAVE Dev docs
- AAVE Markets
- ETH Kovan Faucet
- AAVE Kovan Faucet
- AAVE Kovan Pool address
- Kovan DAI address
- My Coding Journey: Beginner to Pro
- A Graphical Guide for Understanding Uniswap
- Understand Uniswap Exchange in under 10 Minutes
- Uniswap Whitepaper
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