Local DEX Control Panel
This UI is connected to your local Anvil chain (31337) with Uniswap v2-style Factory, Router, PairWithHook and AntiBotHook.
Use the shortcuts on the right to jump into Swap, Add Liquidity or AntiBot Admin. When you move to Mantle testnet/mainnet later, only the addresses and RPC config need to change.
Dev Notes
- Make sure Anvil is running on 127.0.0.1:8545.
- .env.local contains RPC_URL, chain ID and contract addresses.
- For Mantle testnet/mainnet you will only swap the config, not the UI code.