Cross-Chain Function Call 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
This tool enables developers and smart contract administrators to execute function calls on a target blockchain from a source blockchain through a cross-chain executor infrastructure. It connects to your wallet and reads the source chain contract address, target chain contract address, function signature, function parameters, target contract address on the destination chain, execution gas limit, relayer fee, current nonce, execution status, delivery confirmations, execution history, and timestamps. The tool signs and submits transactions to encode and submit cross-chain function calls on the source chain, execute those functions on the target chain, update execution status throughout the lifecycle, record execution metadata with nonce tracking, and emit function call events for off-chain monitoring.
HOW TO USE
1. Connect your wallet using the wallet bridge (supports MetaMask, WalletConnect, and other EVM-compatible wallets).
2. Select the source network where you want to submit the function call from.
3. Enter both the source chain executor contract address and the target chain executor contract address, then click "load contracts" to initialize both endpoints.
4. Specify the target contract address on the destination chain that you want to call, the function signature (e.g., "transfer(address,uint256)"), and the function parameters as comma-separated values.
5. Set the execution gas limit for the target chain, the relayer fee in native token, and the target chain ID.
6. Click "encode call" to validate your function signature and parameters, and generate the encoded call data.
7. Click "estimate execution" to estimate gas costs and verify the submission parameters on the source chain.
8. Click "submit call" to sign and send the encoded function call to the source chain executor contract, which assigns a nonce and stores the call for relaying.
9. After the call is submitted, click "execute call" and enter the nonce to trigger the execution on the target chain, completing the cross-chain function call.
TECHNICAL MECHANISM
The tool uses ethers.js v5.7.2 to interact with executor contracts on both the source and target chains that implement a standard interface (submitCall(address, bytes, uint256, uint256) external payable, executeCall(uint256) external, getNonce() view, getExecutionStatus(uint256) view, getConfirmations(uint256) view, executionHistory(uint256) view). The source contract accepts encoded function calls (ABI-encoded with function selector and parameters) and stores them with incremental nonces, tracking their status (pending, submitted, executed, failed, confirmed). When submitting a call, the user pays a relayer fee in native token, which incentivizes relayers to pick up and execute the call on the target chain. The target contract's executeCall function validates the nonce, decodes the stored call data, and performs a low-level call to the destination contract. Gas costs are estimated using the source contract's estimateGas function before submission, and actual costs are reported using receipt.effectiveGasPrice for accurate post-EIP-1559 accounting. The tool tracks execution history locally, preserving nonce, transaction hash, block number, and timestamp for audit purposes.
WHAT IT CANNOT SEE
This tool operates on individual chains and cannot verify function correctness across chains — it does not ensure that the function executed on the target chain matches the intended logic beyond the encoded call data. It cannot ensure atomic execution, meaning the function could fail on the target chain while the submission transaction succeeded on the source chain, leaving the message in a failed state. The tool cannot detect reentrancy attacks that span across chains or validate that the function call is safe in the context of the target contract's state. It cannot validate off-chain executors, verify their trustworthiness, or ensure they will actually pick up and execute calls in a timely manner. The tool also cannot guarantee execution timing, as cross-chain execution depends on relayer availability, network congestion, and gas prices on both chains.
PLEASE NOTE
This tool works exclusively with EVM-compatible blockchain networks (Ethereum, Polygon, Arbitrum, Optimism, Base, etc.). It requires both source and target executor contracts to implement the interface described above. All transactions incur gas fees paid by the connected wallet on each chain involved. The tool maintains no persistent storage — all state is refreshed from the blockchain on each session. Cross-chain function execution is an advanced pattern with significant security considerations; test thoroughly on testnets before deploying to production. Always ensure your executor contracts have been professionally audited and that the destination contract functions being called are secure and properly handle cross-chain calls.