Funds sent to the wrong chain
Recover tokens or ETH sent to your contract's address on a chain where the contract doesn't exist, by deploying a sweeper at the same address — supported on Ethereum, Base, Arbitrum, BNB Chain and Robinhood Chain.
A common and expensive mistake: someone sends funds to your contract's address — say a token or multisig deployed on Ethereum — but on Base or BNB Chain, where nothing is deployed at that address. The funds are not lost: whoever can create a contract at that address can move them.
Why it's recoverable
A contract address created with CREATE depends only on the deployer wallet and its nonce. If your wallet deployed contract X at nonce N on chain A, and on chain B your wallet's nonce hasn't passed N yet, your wallet can deploy a contract at exactly address X on chain B.
What reko does
- Finds the contracts your wallet deployed on each chain.
- Checks whether any of those addresses holds funds on another chain where it has no code.
- Checks your nonce on that chain is still at or below N.
- Your wallet sends a few empty transactions (0 to itself) until its nonce reaches N, then one transaction that deploys a minimal sweeper at address X. The sweeper's constructor pays reko's fee and sends everything else to you in that same transaction.
This works with any wallet (MetaMask, Rabby, Coinbase Wallet, Rainbow…), because each step is an ordinary transaction you confirm yourself. If your wallet has no gas on that chain and the recovery is worth enough, reko sends exactly enough first and the recovery repays it.
Contracts deployed through CREATE2 factories (including most multisigs) and addresses of externally owned wallets are not covered by this method.