Open trading on BOT Chain. Swap BOT, WBOT and USDT through BDEX with live quotes, a slippage limit and one transparent fee.
Officially launched on BOT Chain Mainnet on 2026-10-22.
- Website and app: https://switchyardbot.vercel.app (app at
/app/) - Network: BOT Chain mainnet, chain ID 677 · BOT Chain · BOTScan
- X: @UseSwitchyard
- Pick a route. BOT, WBOT or USDT in either direction through the BDEX USDT/WBOT pool.
- See the real quote. The BDEX QuoterV2 prices your trade live, with the Switchyard fee already taken out.
- Swap in one transaction. Your minimum output and a 10-minute deadline travel with the swap. Native BOT wraps and unwraps automatically.
- Live BDEX pricing. Quotes come straight from the onchain QuoterV2, not a cached API.
- Slippage protection. Every swap requires a nonzero minimum output; bad fills revert.
- One visible fee. A 0.5% input fee, capped onchain at 5%, shown in every quote.
- Nothing held. The router keeps no balances between transactions and has no withdraw function.
| Contract | BOT Chain mainnet |
|---|---|
SwitchyardRouter |
0xf341aba372263b7d5f038c4f8df2e0b96a48e11a |
BOT Chain infrastructure used: USDT 0xaBabc7Ddc03e501d190C676BF3d92ef0e6e87a3C, WBOT 0xD5452816194a3784dBa983426cCe7c122F4abd30, BDEX router 0x07032d47A1b9f8460cBeE9dC17c1d3E438693929, BDEX QuoterV2 0x034A705b36067cff99ABf5C662Be881cBd8d0176.
Source: contracts/src. Tests: contracts/test. The contracts are unaudited; use small amounts.
Requires Node 20+, Foundry and Python 3.
git clone --recursive https://github.com/David-glitc/switchyard.git
cd switchyard
npm ci
npm test # forge test
npm run build # landing page + app into dist/switchyard
npm run preview # http://127.0.0.1:8771npm run build writes dist/switchyard/index.html (landing page), dist/switchyard/app/ (the dApp) and a Cloudflare Workers bundle under sites/.
The app discovers installed wallets with EIP-6963 (BO Wallet, MetaMask, OKX, Rabby and others) and falls back to window.ethereum. It switches or adds BOT Chain (chain ID 0x2a5, RPC https://rpc.botchain.ai) before any transaction, and simulates every call before asking for a signature.
anvil --fork-url https://rpc.botchain.ai --port 8677 --chain-id 677
export BOT_RPC_URL=http://127.0.0.1:8677
node scripts/deploy.mjs && node scripts/fork-check.mjsscripts/deploy.mjs reads the deployer key from BOT_SIGNER_FILE (default ~/.config/botchain-wave1/deployer.env, never committed), refuses to broadcast on mainnet without BOT_MAX_GAS_BOT, and journals every transaction to deployments/mainnet.json so it can resume. npm run publish deploys the built site to Vercel as a static production deployment.
MIT. Built on BOT Chain.
