About this project
The repository README presents a project called FlashLoanArbitrage. It describes a local Node.js script, goflash.js, plus a smart contract intended for ETH/USDC arbitrage on DeFi using flash loans. According to the README, the contract takes a USDC flash loan, converts ETH to USDC before the trade, buys ETH on one platform and sells on another, repays the loan and fees, then converts profit back to ETH. The script is said to monitor ETH/USDC prices on Chainlink, Uniswap V2, SushiSwap, Curve Finance and Balancer, and to trigger arbitrage only when the price difference reaches 0.9% or more.
Flash-loan protocols listed are Aave, dYdX, Uniswap V3 and Balancer, with stated fee percentages and maximum USDC amounts in the README. The bot includes an interactive command-line menu for selecting the protocol, setting a loan amount in ETH, recreating or importing a wallet, starting arbitrage and exiting. First run can create a new wallet or import one by private key; the key is saved to wallet.json. The README stresses that wallet.json should not be committed to Git, that private keys should be backed up offline, and that a dedicated wallet and small test amounts are advisable.
Configuration and dependencies described include Node.js with npm, and packages ethers, inquirer and chalk. The README includes troubleshooting notes for module format errors, invalid private-key format, insufficient funds, RPC reconnection and missing trading pairs. It also notes that a 0.9% price difference is rare in real markets and that the script may show a simulated opportunity for demonstration. The project is shared as-is for educational purposes and with a use-at-your-own-risk disclaimer; the README does not provide independent verification, audit results or evidence of live profitability.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.