Live Coding Session
summary
Live coding walks through Aave v2 flash loans with a live transaction trace (a 25,760 USDC flash loan), shows the flow: lendingPool.flashLoan → receiver contract → Uniswap swap → repay, and explains WETH unwrap and ERC20 approvals. Demo code uses Tenderly and Remix for debugging and deployment, plus a GitHub repo and a fake-arbitrage contract funded with 0.2 ETH bounty that returns principal+9 bps. The demo transaction executes successfully and the exercise invites reproducing or exploiting a deliberate backdoor to win the 0.2 ETH.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:22Flash Loans
- 3:41Schrodinger Loans
- 5:23Architecture of a Flashroom
- 8:01What Can We Build with Using Flash Loan
- 10:01Live Example
- 28:33The Arbitrage Fund








