Quickstart Guide
This guide walks you through connecting your wallet, discovering your loan wallets, and executing your first recovery operation.Before you begin, make sure you’ve reviewed the Prerequisites page to ensure you have everything needed.
Overview
The recovery workflow consists of four main steps:- Connect your wallet
- Scan for deployed loan wallets
- Load position data
- Execute rescue actions
Step-by-Step Workflow
Export and Import Your Private Key
- Log in to the Sats Terminal dashboard
- Export your private key from your account settings
- Import that private key into MetaMask, Rabby, or another EIP-1193 compatible wallet
Do not connect a different wallet, or the derived wallet addresses will not match your loan positions.
Connect Your Wallet
- Open the Borrow Recovery app at
http://localhost:3000(or your deployed URL) - Click the wallet button in the top-right corner
- Select your wallet provider (MetaMask, Rabby, WalletConnect, etc.)
- Approve the connection request in your wallet
- Verify that your address appears in the connected status section
Scan for Deployed Wallets
Navigate to the Run the Scan:
/scan page and configure your scan:Configure Scan Parameters:- Start index: The beginning of your index range (e.g.,
0) - End index: The end of your index range (e.g.,
100) - Chain selection: Check the chains you want to scan
- Ethereum
- Base
- Arbitrum
- BNB Chain
Maximum scan size per run is 2,000 indices. Use “Show only deployed wallets” to filter out noise.
- Click Start scan
- The app will request chain switches while scanning each chain
- Approve the chain switch prompts in your wallet
- Review the scan results table
- Click any result row to open
/wallet/<index>for that wallet
/wallet/<wallet-id> (e.g., /wallet/12).Load Position Data
After opening a wallet details page (
/wallet/<index>):- The page displays the derived Kernel loan wallet address
- Click Copy address to copy the smart wallet address
- Fund the wallet with:
- Native gas token (ETH, BNB) - required for all rescue actions
- Repay token (USDC, USDT, etc.) - required for repay actions
- Select the correct chain from the chain dropdown if needed
- Click Load positions to fetch:
- Wallet token balances
- Aave V3 loan details (debt, collateral, health factor)
- Morpho Blue loan details
Configure ZeroDev Bundler
Before executing rescue actions, you must configure the bundler:Get Your ZeroDev Project ID:
- Go to https://dashboard.zerodev.app/projects/general
- Sign in to your ZeroDev account
- Open your project (or create one if none exists)
- Copy the Project ID from the top-right of the project page
- Locate the “ZeroDev Project ID or RPC URL” input field
- Paste either:
- Your ZeroDev Project ID, or
- A full bundler URL (e.g.,
https://rpc.zerodev.app/api/v3/<project-id>/chain/<chain-id>)
- Rescue action buttons will become enabled when the input is valid
Execute Your First Rescue Action
Choose one of the available rescue operations:
Option A: Withdraw Collateral (Aave)
- Scroll to the Aave section
- Select action: Withdraw collateral
- Toggle full amount or enter custom amount
- Click Execute Aave action via Kernel
- Approve the transaction in your wallet
- Wait for the UserOp to complete
Option B: Repay Debt (Aave)
- Ensure the loan wallet has sufficient repay tokens
- Select action: Repay debt
- Toggle full amount or enter custom amount
- Click Execute Aave action via Kernel
- Approve both transactions in your wallet (approve + repay)
Option C: Transfer Out Tokens
- Locate the wallet balances section
- Find the token card you want to transfer
- Click Transfer all to connected wallet
- Approve the transaction in your wallet
Operational Checklist
Before executing any rescue action, verify:- Connected wallet is on the intended chain
- Loan wallet has enough native gas token
- Repay token is funded to the loan wallet (for repay flows)
- Bundler input is set correctly (ZeroDev Project ID)
- Amount and action are correct (especially full-withdraw/full-repay toggles)
Common Workflows
Fully Close a Loan Position
Partially Reduce Risk
Extract Collateral Only
Next Steps
Wallet Scanning Guide
Learn advanced scanning techniques and troubleshooting
Rescue Operations
Detailed guide for all Aave and Morpho rescue actions
Troubleshooting
See common issues and solutions:- Action button disabled: Missing or invalid bundler input, invalid amount, or an action is already submitting
- “No gas” warning: Send native gas token to the loan wallet address
- “Switch your wallet to
<chain>”: Use chain selector and approve wallet switch prompt - Scan is slow: Reduce range size or number of selected chains