About this project

FlashLoanArbitrage is a DeFi bot designed to perform arbitrage on the ETH/USDC pair. It consists of a smart contract and a Node.js script (`goflash.js`) that monitors prices across multiple platforms including Chainlink, Uniswap V2, SushiSwap, Curve Finance, and Balancer. Key capabilities include: - **Flash Loan Integration**: Supports taking flash loans from Aave, dYdX, Uniswap V3, and Balancer to maximize trade volume without requiring high initial capital. - **Price Monitoring**: Scans five DeFi platforms every 60 seconds and triggers a trade only when a price difference of 0.9% or more is detected to offset fees and slippage. - **Automated Execution**: Automatically handles the process of taking the loan, buying low on one platform, selling high on another, repaying the loan, and converting profits back to ETH. - **Wallet Management**: Includes a CLI for creating new wallets or importing existing ones via private keys. - **Risk Management**: Implements checks for wallet balances to ensure sufficient ETH is available for gas fees relative to the loan size.