About this project

FlashLoanArbitrage is an English-language project centered on a local Node.js script, goflash.js, and a smart contract for DeFi arbitrage with flash loans. According to the README, the contract takes a flash loan in USDC, converts the user's ETH to USDC beforehand, buys ETH at a lower price on one platform and sells it at a higher price on another, repays the loan plus fees and gas, converts profit back to ETH, and leaves the remainder as user profit. The script monitors ETH/USDC prices on Chainlink, Uniswap V2, SushiSwap, Curve Finance, and Balancer, waits for a price difference of 0.9% or more, and then triggers the arbitrage flow. The README lists four flash-loan protocols: Aave, dYdX, Uniswap V3, and Balancer, with stated fee and liquidity figures. Setup is interactive: npm install, node goflash.js, then create a new wallet or import an existing private key, which is saved to wallet.json. A menu lets users choose the DeFi protocol, set a loan amount in ETH, recreate or import a wallet, start arbitrage, or exit. Dependencies are ethers, inquirer, and chalk. The README warns about wallet balance requirements for gas, fees, slippage, private-key security, and not committing wallet.json. It also notes that in real markets 0.9% differences are rare and that the script occasionally shows a simulated opportunity for demonstration. The project is presented as shared as-is for educational purposes and use at own risk. This overview reflects only what the README states; no independent verification of the smart contract, arbitrage results, or fund safety is provided.