flash-loan-arbitrage-logic
Installation
SKILL.md
Flash-Loan Arbitrage Logic
This skill focuses on the DeFi mechanic of borrowing millions, trading, and repaying in a single block.
Instructions
- Identify price discrepancies across decentralized exchanges (DEXs) like Uniswap and Curve.
- Write or optimize a Smart Contract for the flash loan execution.
- Calculate gas costs vs. potential profit spread to ensure positive ROI.
- Implement 'Slippage Protection' to prevent trade failure.
- Simulate the transaction on a testnet before mainnet execution.
Examples
- "Find a flash-loan opportunity for DAI between Aave and Sushiswap."
- "Design a multi-hop arbitrage path for ETH with a $1M flash loan."