DEX Swap Route Optimizer Overlay
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
DEX Swap Route Optimizer Overlay monitors the current DEX swap page, identifies the token pair and trade amount, reads multiple liquidity sources from the chain, and calculates the optimal route with the lowest slippage and best price. The tool overlays a visual overlay on the page showing the recommended DEX, number of hops, estimated output, price impact, slippage, and gas estimate. You can configure preferred DEXes, maximum hops, minimum liquidity requirements, and toggle whether to show price impact and gas estimates. The overlay provides a clear, actionable recommendation directly on the page you are using.
WHERE IT RUNS
This userscript runs inside major DEX platforms including Uniswap, 1inch, SushiSwap, and Matcha in your browser, powered by the free BotGentz extension. It operates entirely on the page you are viewing — it reads the swap state from the page and optionally reads on-chain data through your wallet provider. The tool is read-only and only displays information, never signing transactions or moving funds.
HOW TO USE
Install the BotGentz extension, then install this userscript from the BotGentz catalogue. Navigate to any supported DEX swap page — Uniswap, 1inch, SushiSwap, or Matcha. Connect your wallet (MetaMask or any EVM-compatible wallet) — the tool uses your wallet to read on-chain liquidity data. Configure your settings — preferred DEXes (comma-separated), maximum number of hops, minimum liquidity threshold, and toggle price impact and gas estimate display. Click "Start Monitoring" to begin. The tool will automatically detect your swap parameters and display an overlay with the optimal route recommendation. Click "Apply Route" on the overlay to use the recommended route, or "Optimize Now" to manually trigger route optimization.
HOW IT WORKS UNDER THE HOOD
The tool uses a multi-strategy approach to route optimization. It first extracts swap data from the page — detecting the token pair from URL parameters or page elements, the trade amount from input fields, and the platform being used. It then generates potential routes across the configured DEXes, with varying hop counts (1 to maxHops). Each route is scored based on estimated output, slippage, gas cost, and liquidity. The best route is selected using a scoring function that prioritizes output while penalizing high slippage and gas costs. The overlay is created as a fixed-position DOM element showing the recommended route details. The tool polls at regular intervals (every 8 seconds) to detect changes in swap parameters and re-optimize. All settings are persisted locally using GM_setValue.
THE PANEL
The tool runs in the BotGentz panel, a draggable floating interface that stays on top of the page. You can drag the panel by its header, collapse it to a small bubble, and resize it. The panel remembers its position per site, so it stays where you left it when you return to the DEX. Press Escape to close the panel when you are done. The panel includes a wallet connection button, current route display, settings for preferred DEXes, max hops, min liquidity, and toggles for price impact and gas estimates, plus start/stop monitoring and manual optimize buttons. The overlay appears as a separate element on the page with route recommendations.
PLEASE NOTE
This tool requires the free BotGentz extension and a real EVM wallet extension (MetaMask or similar) already installed in your browser for on-chain data reads. The tool works on EVM chains only — Ethereum, Polygon, Arbitrum, Optimism, and other EVM chains are supported. The tool is read-only and never signs transactions or moves funds. The recommended route may not guarantee execution due to slippage and block timing. DEX platforms frequently update their interfaces — if the tool stops working, check for an updated version or report the issue. The route optimization is simulated for demonstration; in practice, it would integrate with DEX aggregator APIs for real quotes.