Use Case: DeFi Yield & Lending
Manage your DeFi positions across multiple Solana protocols — lend, borrow, provide liquidity, and track yields — all from your Telegram chat.
The Scenario
You have idle USDC and want to earn yield. Or you want to borrow against your existing crypto holdings. Or you've been eyeing a liquidity pool but don't want to deal with complex DeFi interfaces.
With D0, you can interact with Kamino, Meteora, Sanctum, Raydium, Pendle, and Drift — all through simple messages.
Kamino: Lending & Borrowing
Deposit to Earn Yield
You: "Deposit 500 USDC to Kamino"
Bot: "Deposit preview:
- Amount: 500 USDC
- Protocol: Kamino Lending
- Current APY: 8.2%
- Estimated daily earnings: ~$0.11
Shall I proceed?"
You: "Yes"
Bot: "Deposit complete! TX: 3def...uvw. Your Kamino deposit: 500 USDC earning 8.2% APY."
Borrow Against Your Deposits
You: "Borrow 100 USDC from Kamino"
Bot: "Borrow preview:
- Amount: 100 USDC
- Protocol: Kamino Lending
- Borrow APR: 12.5%
- Health factor after borrow: 2.1 (Safe)
Shall I proceed?"
You: "Go ahead"
Bot: "Borrow complete! TX: 7ghi...rst. You received 100 USDC. Health factor: 2.1."
Repay Your Loan
You: "Repay 50 USDC to Kamino"
Bot: "Repay preview:
- Amount: 50 USDC
- Remaining loan after repay: ~50 USDC
- Health factor after repay: 3.5 (Very Safe)
Shall I proceed?"
You: "Yes"
Bot: "Repayment complete! TX: 9jkl...xyz. Remaining loan: 50 USDC. Health factor improved to 3.5."
Check Your Kamino Portfolio
You: "Show my Kamino portfolio"
Bot: "Your Kamino positions:
Deposits:
Token Amount APY Value USDC 500 8.2% $500 SOL 5.0 6.5% $711 Borrows:
Token Amount APR Owed USDC 50 12.5% $50.02 Health Factor: 3.5 (Very Safe) Net APY: ~6.8%"
Meteora: Liquidity Pools
Find Pools
You: "Find Meteora pools for SOL"
Bot: "Top Meteora pools for SOL:
DLMM Pools:
Pool TVL 24h Fees APR SOL/USDC $12.5M $45K 32% SOL/USDT $8.2M $28K 28% Dynamic AMM Pools:
Pool TVL 24h Fees APR SOL/USDC $5.8M $12K 18%
Add Liquidity
You: "Add liquidity to the SOL/USDC Meteora pool"
Bot: "Add liquidity preview:
- Pool: SOL/USDC (Dynamic AMM)
- Your deposit: 1 SOL + 142 USDC
- Pool share: ~0.02%
- Estimated APR: 18%
- Slippage: 1%
Shall I proceed?"
You: "Yes"
Bot: "Liquidity added! TX: 2mno...abc. You're now earning fees from the SOL/USDC pool."
Check Your Positions
You: "Show my Meteora positions"
Bot: "Your Meteora positions:
Pool Type Deposited Current Value Fees Earned SOL/USDC DAMM $284 $290 $6.20 Total LP Value: $290"
Remove Liquidity
You: "Remove 50% of my SOL/USDC Meteora position"
Bot: "Remove liquidity preview:
- Pool: SOL/USDC (Dynamic AMM)
- Removing: 50% of position
- You'll receive: ~0.5 SOL + ~71 USDC
- Slippage: 1%
Shall I proceed?"
You: "Yes"
Bot: "Liquidity removed! TX: 5pqr...def. You received 0.498 SOL and 70.85 USDC."
Sanctum: Liquid Staking
Check LST Rates
You: "What are the Sanctum LST rates?"
Bot: "Sanctum LST Overview:
LST Price (SOL) APY mSOL 1.082 7.2% bSOL 1.065 6.8% jitoSOL 1.074 7.5% INF 1.058 6.5% Best yield: jitoSOL at 7.5% APY"
Exploring Other Protocols
Raydium Pools
You: "Search Raydium pools for SOL"
Bot: "Raydium Pools for SOL:
Pool Type TVL APR SOL/USDC CLMM $45M 24% SOL/USDT CPMM $12M 18% Use pool IDs for detailed info."
Pendle Yield Markets
You: "Show Pendle yield markets on Ethereum"
Bot: "Pendle Markets (Ethereum):
Market Underlying Maturity Fixed APY Implied APY stETH Mar'26 Lido stETH Mar 2026 4.2% 3.8% sDAI Jun'26 Maker sDAI Jun 2026 5.1% 4.9% Pendle lets you lock in fixed yields or speculate on future rates."
Drift Protocol
You: "Show Drift perpetual markets"
Bot: "Drift Perp Markets:
Market Price Funding (1h) OI SOL-PERP $142.35 +0.0008% $25M BTC-PERP $98,450 +0.0012% $45M ETH-PERP $3,850 -0.0003% $18M
Real-World DeFi Strategies
Strategy 1: Idle USDC Yield
You have USDC sitting in your wallet doing nothing.
1. "Show my wallet balance"
→ See how much USDC is idle
2. "What's the Kamino USDC deposit APY?"
→ Check current rates
3. "Deposit 1000 USDC to Kamino"
→ Start earning yield
4. "Show my Kamino portfolio"
→ Verify the deposit is workingStrategy 2: Leveraged Yield
Deposit SOL, borrow USDC, and deploy the borrowed USDC for more yield.
1. "Deposit 10 SOL to Kamino"
→ Use SOL as collateral
2. "Borrow 500 USDC from Kamino"
→ Borrow against your SOL (keep health factor > 2)
3. "Add liquidity to SOL/USDC on Meteora"
→ Earn LP fees with borrowed USDC
4. "Show my DeFi portfolio"
→ Monitor all positions togetherStrategy 3: LP Farming
Provide liquidity to high-APR pools.
1. "Find Meteora pools for SOL"
→ Compare DLMM vs Dynamic AMM pools
2. "Add liquidity to the SOL/USDC DLMM pool"
→ Higher APR, more active management
3. "Show my Meteora positions"
→ Track fees earned
4. "Remove liquidity when done"
→ Exit when you wantTips
- Start with Kamino lending — It's the simplest way to earn yield with low risk
- Monitor health factors — Keep your Kamino health factor above 2.0 to avoid liquidation
- Compare APYs across protocols — Rates change constantly; check multiple protocols before committing
- DLMM vs Dynamic AMM — DLMM pools have higher APR but require more active management
- Check Sanctum LSTs — If you're holding SOL long-term, liquid staking earns you yield while keeping liquidity
- Use the two-step workflow — All DeFi operations show a preview first so you can review before executing
- Track your net APY — If you're borrowing and lending, make sure your earnings exceed your borrowing costs
