Deploy Forwarder Contract
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
Deploy Forwarder Contract enables you to deploy your own forwarder proxy contract using the EIP-1167 minimal proxy pattern. This creates a lightweight, gas-efficient proxy that delegates all calls to a shared implementation contract, allowing you to have your own forwarder instance for meta-transactions, delegated calls, or gasless transaction patterns. The tool reads your connected wallet address to determine the deployer, validates the current chain ID, checks your wallet balance to confirm sufficient native tokens for deployment gas fees, and lets you specify the implementation contract and proxy factory addresses. It then broadcasts a deployment transaction using a factory contract, which creates a minimal proxy pointing to your chosen implementation. After deployment, the tool displays your new forwarder contract address and provides a transaction link for verification.
HOW TO USE
Connect your wallet using the BGWallet connector. Select the network you want to deploy on from the dropdown menu. Enter the implementation contract address you want your forwarder to point to—this is the contract that contains the logic your proxy will delegate calls to. Enter the proxy factory address for your chosen network, which uses the EIP-1167 minimal proxy pattern to create new proxy instances. Optionally, specify a salt value to control the deterministic deployment address—the same salt on the same network will produce the same address. The review panel will display your deployer address, the implementation address, the factory address, the salt value, your wallet balance, and an estimated gas cost. After reviewing, click "Deploy forwarder" to broadcast the transaction. The tool will show progress and display your deployed forwarder address once confirmed, with a copy button for easy reference.
TECHNICAL MECHANISM
This tool uses a factory contract that implements the EIP-1167 minimal proxy pattern. When you initiate deployment, the tool validates the implementation and factory addresses, then calls the factory's deploy() function with the implementation address and a salt value. The factory creates a new proxy contract using the create2 opcode, which allows for deterministic addresses based on the factory address, implementation address, and salt. The proxy contains minimal bytecode—just enough to delegate all calls to the implementation contract using delegatecall, with the proxy's own storage persisting independently. The tool estimates gas using the factory's deploy() function with a 20% buffer to account for network variability. After the transaction is mined, the tool parses the Deployed event from the factory contract to extract the new proxy address, providing a link to verify the deployment on the blockchain explorer. The tool displays gas costs using receipt.effectiveGasPrice for accurate post-EIP-1559 reporting.
WHAT IT CANNOT SEE
This tool cannot guarantee that your deployed forwarder contract will be accepted or recognized by external relay hubs or meta-transaction systems without additional configuration—you must separately register or configure your forwarder with your chosen relay service. It does not verify the implementation contract's code or safety; you are responsible for ensuring the implementation contract is secure and trusted. The tool cannot recover if the deployment fails due to insufficient gas, network issues, or if the factory contract rejects your deployment parameters. It does not automatically register your deployed forwarder with any relay hub, paymaster, or meta-transaction service. The tool does not support chains where the required implementation or factory addresses are not available, and it does not validate that the provided implementation address is a valid forwarder implementation.
PLEASE NOTE
This tool works only on EVM-compatible chains that support the EIP-1167 minimal proxy pattern and have a compatible factory contract. You must provide the correct implementation and factory addresses for your chosen network—the tool does not hardcode these addresses. Always verify that the implementation contract you are using is trusted and secure, as your proxy will delegate all calls to it. The deployment transaction will cost gas in native tokens, paid by your connected wallet. Using a salt value allows you to deploy the same forwarder address deterministically across deployments, which can be useful for upgradeability or registration. After deployment, you will need to configure your forwarder with any relay hubs or meta-transaction services you intend to use.