Import Wallet: Bring Your Existing DeFi Positions into StableSafe

StableSafe now lets you import existing DeFi positions by scanning wallet addresses on-chain. Multi-chain support for EVM, Solana, Aptos, and Cosmos. Detect positions across hundreds of tracked pools and create a locked allocation in seconds.

Until now, using StableSafe meant creating allocations manually through the Finder wizard. You'd pick pools, set amounts, and lock the allocation. But what about your existing DeFi positions? The ones you've already deposited into Aave, Morpho, Compound, or dozens of other protocols?

Import Wallet solves this. Enter your wallet addresses, and StableSafe scans all tracked pools on-chain to detect your existing stablecoin positions. Confirm which ones you want, and they become a locked allocation - complete with APY tracking, risk scoring, and rebalance suggestions.

How It Works

When you scan a wallet, StableSafe queries your on-chain balances across every tracked pool in our database. For EVM chains, this means batched RPC calls checking your balance on hundreds of vault and lending contracts simultaneously. For Solana, Aptos, and Cosmos, we use chain-native APIs to retrieve all your token accounts in a single call.

Since all tracked pools are stablecoin-denominated, the detected balance maps directly to a USD amount. The result is a list of your positions with current APY and risk scores pulled from StableSafe's live pool data.

Multi-Chain Support

Import works across four chain ecosystems:

EVM Chains

Ethereum, Arbitrum, Base, Polygon, Optimism, BSC, Avalanche, and more. Covers Aave, Compound, Morpho, Yearn, Euler, and all ERC-4626 vaults.

Solana

SPL token accounts for lending protocols like Solend, MarginFi, and Kamino. One RPC call retrieves all token accounts.

Aptos

Move-based coin stores for protocols like Liquidswap. Resource-based account model scanned in a single API call.

Cosmos / Osmosis

Bank module balances for Osmosis LP tokens (gamm/pool denoms). Covers concentrated and classic liquidity positions.

Supported Protocols

Position detection covers all protocol types that StableSafe tracks:

  • -ERC-4626 Vaults: Morpho, Yearn, Euler, Silo, Beefy, Spark Savings, and 20+ more
  • -Aave V3 + Forks: Aave, SparkLend, Radiant V2, UwU Lend (aToken balances)
  • -Compound V3: Comet contract balances (returns underlying directly)
  • -Compound V2 Forks: Venus, BENQI, Moonwell, Flux (cToken balances)

Step-by-Step Guide

1

Enter wallet addresses

Paste one or more wallet addresses into the input field, one per line. StableSafe auto-detects the chain type from the address format: 0x for EVM, base58 for Solana, osmo1 for Cosmos.

2

Scan positions

Click 'Scan Positions' and StableSafe queries all tracked pools across your chains. This typically takes a few seconds depending on how many chains your wallets span.

3

Review and select

Browse detected positions grouped by chain. Each shows the protocol, pool name, stablecoin, balance in USD, current APY, and risk score. Select which positions to import.

4

Confirm import

Optionally name your allocation, then click 'Import Selected'. StableSafe creates a locked allocation with your chosen positions, and you can immediately view charts, tracking, and rebalance suggestions.

Under the Hood

For EVM chains, StableSafe uses batch JSON-RPC calls to check balanceOf on every tracked pool's contract address for your wallet. This means one RPC request per chain covers hundreds of pools simultaneously. For non-zero balances, the amount is converted to USD using the pool's stablecoin decimals.

Solana uses getTokenAccountsByOwner to retrieve all SPL token accounts in one call, then filters against tracked pool mint addresses. Aptos scans account resources for CoinStore types matching tracked pools. Cosmos queries the bank module's balance endpoint for gamm/pool LP denoms.

All RPC calls use the same endpoint priority and fallback system as the rest of StableSafe, ensuring reliable chain access even if a provider is temporarily down.

Try It Now

Import your existing DeFi positions and start tracking everything in one place.

Go to Allocation