Documentation


Table of Contents

1. Introduction
2. Quick Start
3. Sponsor Wallet
4. Token & NFT Rescue (/transfer)
5. NFT Mint Rescue (/mint)
6. Airdrop & Claims Rescue (/claim)
7. DeFi Lending Rescue (/lending)
8. Referral Program (/refer)
9. Fees & How They Work
10. Custom RPC & Transaction Broadcasting
11. Supported Networks
12. What RescueKit Can & Cannot Do

1. Introduction

RescueKit helps you recover trapped funds from hacked or compromised EVM wallets. By using EIP-7702, a separate clean wallet pays the gas fees so automated sweeper bots never get a chance to steal your gas. You can rescue tokens, NFTs, unclaimed airdrops, and DeFi lending positions directly into a safe wallet in a single transaction.

1.1 How Sweeper Bots Work

When an account's private key or seed phrase leaks, automated MEV sweeper bots monitor the address across public transaction mempools and block builders. Sweeper bots maintain persistent RPC subscriptions listening for inbound transfers.

  1. User sends gas to the compromised wallet.
  2. Sweeper bot detects the incoming transfer.
  3. Bot drains the gas to the attacker wallet within milliseconds.
  4. The user never gets a chance to broadcast a transaction to move their funds.
  5. Trapped assets remain stuck.

Under this hostile condition, traditional transactions (eth_sendRawTransaction) fail because the account owner cannot fund the account with the native gas required to broadcast any transaction. Any gas sent to the address is stolen within milliseconds by the bot.

1.2 How EIP-7702 Solves This

EIP-7702 allows an ordinary wallet (EOA) to temporarily delegate its execution to a smart contract without changing account ownership. By signing an authorization designating the RescueKit contract (0x0000000008732229ED6Dca402A3C9EbbF31068E7), the wallet gains the ability to execute batch rescue operations.

Crucially, EIP-7702 transactions can be sponsored by a separate, clean account (the "Sponsor Wallet"). The sponsor wallet pays 100% of the gas needed to broadcast and execute the rescue. Because the compromised account never receives or holds native gas, sweeper bots never get a chance to trigger.


2. Quick Start

2.1 What You Need

2.2 How to Rescue

  1. Create a sponsor wallet in the app and deposit gas into it.
  2. Enter your compromised wallet address and select your network.
  3. Select or enter the details to rescue.
  4. Enter your clean safe destination address.
  5. Click Review and enter your compromised private key.
  6. Click Rescue to execute the rescue transaction.

3. Sponsor Wallet

The sponsor wallet is a clean burner wallet generated directly in your browser. It pays the gas fees for all your rescue transactions so your compromised wallet never needs to hold native gas.

3.1 How It Works

  1. Click Generate Sponsor Wallet at the top of any rescue page to create your sponsor wallet in one click.
  2. The wallet and its private key are generated client-side in your browser and encrypted locally using 256-bit AES-GCM.
  3. Deposit a small amount of native gas (like ETH, POL, or BNB) into your sponsor wallet on the chain you want to rescue.
  4. When you execute a rescue, the sponsor wallet broadcasts the transaction and pays the gas fees on behalf of your compromised wallet.

3.2 Managing Keys & Funds

3.3 Tips & Safety


4. Token & NFT Rescue (/transfer)

The Transfer page recovers ERC-20 tokens, native coins, and NFTs already sitting in your compromised wallet.

4.1 How It Works

  1. Enter your compromised address and select your networks. The scanner checks for tokens, native coins, and NFTs across all selected chains at the same time.
  2. You can rescue multiple tokens, multiple NFTs, or both combined at once. If you selected multiple networks, you can rescue across all of them at the same time with one click.
  3. If a token or NFT does not appear automatically, you can manually enter the contract address (and token ID for NFTs) to include it.
  4. Once confirmed via Review and Rescue, the assets are swept directly into your safe destination wallet.
  5. If an individual token or NFT transfer fails (for example, non-transferrable token or nft), it simply skips that token and continues rescuing the rest of your assets without canceling the entire transaction.

4.2 Fees


5. NFT Mint Rescue (/mint)

The Mint page lets you mint NFTs (ERC-721 or ERC-1155) from an eligible or allowlisted compromised wallet, either sweeping them straight to your safe wallet in the same transaction or executing the mint on its own.

5.1 How It Works

  1. Enter your compromised wallet address, safe destination address, and select the network where the mint takes place.
  2. Select your Mint Mode from the dropdown.
    • Mint only: executes the mint function on the contract without sweeping the new NFT out of your wallet.
    • Mint + Transfer: mints the NFT and immediately sweeps it directly to your safe wallet in the same transaction.
  3. Enter the Mint Contract Address and paste the Mint Calldata (hex). The app automatically checks the network to verify that the contract exists.
  4. If the mint has a mint fee in native currency, enter the amount (like 0.01 or hex 0x...) in the Mint Price field. Your sponsor wallet pays this fee for you. For free mints, leave this blank.
  5. In Mint + Transfer mode, if the NFT collection is the same contract as the mint contract, leave the NFT Contract Address blank. If the collection is a separate contract from the minting contract, enter the NFT contract address.
  6. Native tokens in your compromised wallet are swept automatically by default. In Mint + Transfer mode, you can also select existing NFTs in your wallet to sweep them in the same transaction alongside your mint.
  7. Click Review to enter your compromised private key, then click Rescue to execute the mint and sweep the NFTs directly into your safe wallet.

5.2 Finding Token IDs

Because an NFT's token ID cannot be known before minting, our contract discovers it on-chain during execution using three methods.

If an NFT contract does not support any of these methods, the minted token ID is read from the transaction receipt and an automatic follow-up rescue broadcasts immediately to recover it. However, because this requires a separate transaction, there is a brief on-chain window before it confirms where the NFT could be intercepted, even though the follow-up broadcasts immediately.

5.3 Fees


6. Airdrop & Claims Rescue (/claim)

The Claims page recovers claimable tokens from contracts like airdrops, staking, vesting, and more.

6.1 How It Works

  1. Enter your compromised address and select your network.
  2. Enter the claim contract address. The app automatically checks the network to verify that the contract exists. If the contract supports common claim functions, it is detected automatically, or you can paste your claim calldata.
  3. If the claim requires a native fee, enter the amount (like 0.01 or hex 0x...) in the Value field. Your sponsor wallet pays this fee for you. If no fee is required, leave it blank.
  4. The payout token is usually detected and filled in automatically, but always verify that the address is correct (or enter it manually if not detected). Native tokens are swept automatically by default, and you can also sweep existing tokens already sitting in your wallet by adding their contract addresses.
  5. If a claim rewards multiple tokens at once, you can add extra token addresses to sweep all reward tokens together in one transaction.
  6. You can add multiple claim boxes to execute different claims together at the same time.
  7. Click Review to enter your compromised private key, then click Rescue to sweep your tokens directly into your safe wallet.

6.2 Follow-Up Rescues

If an individual claim fails (for example, if it expired), it simply skips that claim and continues rescuing your other claims without canceling the entire transaction.

Always enter the correct payout tokens so everything sweeps in the first transaction. If a contract transfers extra or unexpected tokens that you did not enter, an automatic follow-up rescue broadcasts immediately to recover them. However, because this requires a separate transaction, there is a brief on-chain window where tokens could be intercepted. While the follow-up rescue is fast, there is no guarantee in that window, so always double-check your token addresses.

6.3 Fees


7. DeFi Lending Rescue (/lending)

The Lending page recovers collateral trapped in lending markets (such as Aave v3, Morpho Blue, Moonwell, and Curvance), including active positions with debt and idle deposits without debt.

7.1 How It Works

  1. Enter your compromised wallet address and select your network(s). You can select multiple networks to scan positions across different chains at the same time.
  2. The scanner automatically detects your lending positions, showing your deposited collateral and any outstanding debt.
  3. Select the positions you want to recover. You can select multiple positions on the same network, or positions across different networks.
  4. Enter your clean safe destination address.
  5. Click Review. The app verifies that there is enough on-chain flash loan liquidity to borrow your debt tokens, calculates swap routes (if collateral differs from debt), and verifies sponsor gas.
  6. If a swap is needed, the review modal displays Est. Output (Debt) for the tokens needed to cover your debt at current DEX prices. You can adjust the slippage buffer (default is 1%). Rather than reducing your received tokens, this buffer budgets extra collateral for the swap to guarantee the flash loan is fully repaid even if prices shift, with any leftover tokens safely swept to your safe destination wallet.
  7. Enter your compromised private key, then click Rescue to execute the recovery and sweep your net collateral directly into your safe wallet.

7.2 Debt Repayment & Idle Deposits

7.3 Swaps & Routing

7.4 Supported Protocols by Chain

Supported lending protocols across each network today. This list is kept updated as new protocols are added.

Network Supported Protocols
EthereumAave v3, Morpho Blue, Compound v3, Moonwell
BaseAave v3, Morpho Blue, Compound v3, Moonwell
BNB ChainVenus Protocol, Aave v3
Arbitrum OneAave v3, Morpho Blue, Compound v3
ArcMorpho Blue
PolygonAave v3, Morpho Blue, Compound v3
OptimismAave v3, Morpho Blue, Compound v3, Moonwell
MonadAave v3, Morpho Blue, Curvance
SonicAave v3
RobinhoodMorpho Blue
BerachainMorpho Blue (Bend)
MegaETHAave v3
LineaZeroLend, Compound v3
InkAave v3
UnichainCompound v3, Morpho Blue
Sei
World ChainMorpho Blue
Somnia
PlasmaAave v3
Plume

7.5 Fees


8. Referral Program (/refer)

The Referral page lets you generate a personal referral link to earn on-chain commissions by helping others recover their funds from compromised wallets.

8.1 How It Works

  1. Go to the Refer & Earn page (/refer).
  2. Enter your payout address (any clean EVM wallet where you want to receive commissions).
  3. Copy your unique referral link or save the QR code to share.
  4. When someone opens your link, your payout address is remembered in their browser for their rescues.
  5. When they complete a successful rescue, 6% of the recovered assets are sent directly to your payout address in the exact same transaction.

8.2 Commissions & Payouts


9. Fees & How They Work

RescueKit collects fees on-chain during execution. Understanding how fees are charged and the order in which transfers execute ensures your assets reach your safe wallet smoothly.

9.1 Fee Breakdown by Asset

9.2 Referral Split

9.3 Transfer Order & Safe Destination Requirements


10. Custom RPC & Transaction Broadcasting

10.1 Custom RPC

10.2 Transaction Broadcasting


11. Supported Networks

RescueKit is deployed and verified across 20 EVM mainnets. All deployments share the identical contract address 0x0000000008732229ED6Dca402A3C9EbbF31068E7.

Network ID Native
Ethereum ↗1ETH
Base ↗8453ETH
BNB Chain ↗56BNB
Arbitrum One ↗42161ETH
Arc ↗5042USDC
Polygon ↗137POL
Optimism ↗10ETH
Monad ↗143MON
Sonic ↗146S
Robinhood ↗4663ETH
Berachain ↗80094BERA
MegaETH ↗4326ETH
Linea ↗59144ETH
Ink ↗57073ETH
Unichain ↗130ETH
Sei ↗1329SEI
World Chain ↗480ETH
Somnia ↗5031SOMI
Plasma ↗9745XPL
Plume ↗98866PLUME

12. What RescueKit Can & Cannot Do

12.1 What RescueKit Can Do

Rescue without funding your compromised wallet with gas (your sponsor wallet pays the gas).
Rescue single or multiple ERC-20 tokens, native coins, and NFTs on any chain in a single transaction, or execute across multiple chains at the same time.
Mint new NFTs and sweep existing NFTs to your safe wallet in a single transaction.
Rescue single or multiple claims on any chain in a single transaction, or execute across multiple chains at the same time.
Rescue trapped collateral from single or multiple DeFi lending positions (which includes idle positions and positions with debt, both) on any chain in a single transaction, or execute across multiple chains at the same time.

12.2 What RescueKit Cannot Do

Recover funds that were already stolen or transferred out before your rescue.
Recover funds if you enter an attacker-controlled or compromised safe destination address.
Rescue non-transferable or soulbound tokens and NFTs that cannot be moved on-chain.
Protect your sponsor wallet if you leak or compromise the sponsor wallet's own private key or seed phrase.
Guarantee newly minted NFTs are swept in the same transaction if the NFT contract does not support standard discovery methods.
Rescue lending positions where your debt is higher than your collateral.
Reverse transactions once confirmed on the blockchain.