Cross-Chain Swap Executor
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
Cross-Chain Swap Executor is a DeFi tool that lets you execute token swaps between different EVM chains in a single atomic operation. Instead of bridging tokens and then swapping them on the destination chain, this tool combines both steps into one transaction. It reads your token balances, current swap rates, bridge fees, and destination chain parameters, then constructs and submits the cross-chain swap transaction. It provides a preview of the source token, destination token, swap amount, expected output, destination chain, recipient, and slippage tolerance before you execute, enabling efficient and transparent cross-chain token exchange.
HOW TO USE
Connect your EVM wallet via the BGWallet bridge. Enter the bridge contract address, the source token address, and the destination token address on the destination chain. Specify the amount you want to swap, the destination chain ID, and the recipient address (leave blank to use your own address). Set your slippage tolerance. Click "Preview Swap" to see the bridge contract, source and destination tokens, swap amount, expected output, destination chain, and estimated gas cost. Review the details carefully — the expected output is based on current rates and may change. Click "Execute Swap" to sign and broadcast the transaction. The tool provides a transaction hash for tracking and shows the swap status.
TECHNICAL MECHANISM
The tool reads the token balance from the source token contract using `balanceOf(address)`. It fetches the swap rate from the bridge contract using view functions like `getSwapRate(sourceToken, destToken, amount, destinationChain)` or from an off-chain price feed integrated with the bridge. When executing, the tool first approves the bridge contract to spend the source tokens (if not already approved), then calls the bridge contract's cross-chain swap function — typically `swapCrossChain` or `executeCrossChainSwap` — with the source token, destination token, amount, destination chain, recipient, and slippage tolerance. The bridge contract then bridges the tokens to the destination chain and executes the swap there. The entire operation is atomic — if any step fails, the transaction reverts. The tool estimates gas using `estimateGas` and displays the estimated cost before execution.
WHAT IT CANNOT SEE
This tool cannot guarantee that the swap will execute at the expected rate if the market moves between the swap initiation and execution on the destination chain. The swap rate is determined at the time of execution on the destination chain, which may be minutes or hours after the source chain transaction. The tool also cannot predict changes to the bridge network, such as congestion or delays, that may affect the swap execution time and rate. Additionally, the tool cannot verify that the destination token is supported on the destination chain or that the bridge will accept the swap. Always monitor market conditions and set an appropriate slippage tolerance. This tool is an aid for cross-chain swapping, not a guarantee that the swap will execute at the previewed rate.
PLEASE NOTE
EVM chains only. This tool relies on the BGWallet connector and will not function on Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. The user is responsible for ensuring the supplied bridge contract address is correct and that the contract supports cross-chain swap functions. The source token must be approved for transfer to the bridge contract — the tool handles approval if needed. Always verify the expected output and set an appropriate slippage tolerance before executing.