What problem does it solve?
This Skill provides essential knowledge and code examples for interacting with and composing core DeFi protocols like Uniswap V3/V4, Aave V3, and ERC-4626 vaults, addressing common pitfalls and enabling advanced financial strategies.
Core Features & Use Cases
- Protocol Interaction: Learn how to swap on Uniswap V3/V4, supply/borrow/flash loan on Aave V3, and build/compose ERC-4626 vaults.
- Composability Patterns: Understand how to combine these protocols for strategies like flash loan arbitrage, leveraged yield farming, and more.
- Use Case: Automatically execute a flash loan arbitrage strategy by borrowing USDC from Aave, swapping it for ETH on Uniswap, and then swapping ETH back to USDC on another DEX, repaying the loan with profit, all within a single transaction.
Quick Start
Use the building-blocks skill to get the address for the Uniswap V3 SwapRouter on Ethereum mainnet.