Developer Builds DeFi Price Alert Bot on Android, Battles Network and Code Bugs

A developer built a DeFi monitoring bot running entirely on an Android phone via Termux, tracking CEX and DEX price spreads on the Arbitrum network and monitoring stablecoin depegs. The bot compares prices from Bybit and Coinbase against Uniswap V3, sending Telegram alerts when spreads exceed 0.5%, and successfully detected a real 0.60% spread on AAVE. Key technical hurdles included breaking changes in Ethers v6, misleading 262% fake arbitrage signals caused by near-empty liquidity pools on Uniswap V2 and SushiSwap on Arbitrum, and ABI incompatibilities with Camelot V3's Algebra-based protocol. A major obstacle was the developer's mobile ISP actively blocking crypto exchange APIs, which was resolved by enabling Cloudflare WARP. The bot now runs every two hours, covering price targets, CEX/DEX spread checks, and stablecoin depeg monitoring.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in