Documentation
How SnowMind Works
A step-by-step look at how your stablecoins are optimized across Avalanche lending protocols — safely, autonomously, and transparently.
Connect & Deposit
Authenticate with Privy and deposit USDC into your own ZeroDev Kernel v3.1 smart account. You retain full ownership — SnowMind never holds custody of your funds.
- Sign in with wallet, email, or social login via Privy
- ZeroDev deploys a smart account you fully own
- Deposit USDC — withdraw anytime, no lockups
- Grant a scoped session key with strict permissions
Optimization
Snow Optimizer ranks lending protocols by APY and allocates with risk and liquidity caps, capped at 15% of each pool's TVL. Spark Savings acts as the stable yield floor when no market beats it.
- Snow Optimizer prioritizes highest qualified APY, then balances across safe alternatives
- 15% TVL cap prevents owning too much of any pool
- Spark as yield floor — safe parking when no protocol beats it
- TWAP-confirmed rates prevent manipulation
Smart Rebalancing
When the optimizer identifies a better allocation, a safety gate validates the move: daily yield improvement must exceed gas costs before executing through ERC-4337 UserOperations.
- Allocation drift > 5% triggers evaluation
- Daily yield improvement must exceed rebalance gas cost
- Deposit-tier cadence gate: <=$3,000 (12h), <=$10,000 (4h), <=$100,000 (2h), >$100,000 (1h)
- 30-day average APY prevents chasing short spikes
Monitor & Withdraw
Track your portfolio performance, allocation history, and every rebalance in real-time. Withdraw to your wallet whenever you want.
- Real-time dashboard with yield metrics
- Full rebalance history and allocation timeline
- One-click withdrawal to your wallet
- Transparent fee and gas cost breakdown
Safety at every layer
Multiple independent safeguards protect your funds.
Session keys are AES-256-GCM encrypted at rest
Keys scoped to specific contracts and functions only
Rate anomaly detection halts rebalancing if APY > 25%
Circuit breaker excludes failing protocol adapters
All communication over TLS 1.3
Funds stay earning yield even if backend goes down