Skip to content

Use Case: DeFi Yield & Lending

Manage your DeFi positions across multiple Solana protocols without leaving Telegram. Lend, borrow, provide liquidity, track yields — all through simple messages to your bot.

The Scenario

You have idle USDC sitting in your wallet earning nothing. Or you want to borrow against your crypto holdings without selling them. Or you've been eyeing a liquidity pool but the DeFi interfaces look too complicated.

With D0, you can interact with Kamino, Meteora, Sanctum, Raydium, Pendle, and Drift through your Telegram chat. No browser tabs, no connecting wallets to sites, no confusing pool UIs.

Get started: Deposit 500 USDC to Kamino, Find Meteora pools for SOL, or What are the Sanctum LST rates?.

Kamino: Lending & Borrowing

Kamino is the easiest entry point for DeFi. Deposit idle tokens to earn interest, or borrow against your deposits without selling.

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."

Your USDC is now earning interest. You can withdraw anytime.

Borrow Against Your Deposits

Once you have deposits on Kamino, you can borrow against them without selling your original position.

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."

Your health factor shows how safe your position is. Keep it above 2.0 to stay well away from liquidation. If your collateral value drops or your borrowed amount grows, your health factor goes down.

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."

Paying down your loan improves your health factor and reduces your interest costs.

Check Your Kamino Portfolio

You: "Show my Kamino portfolio"

Bot: "Your Kamino positions:"

Deposits:

TokenAmountAPYValue
USDC5008.2%$500
SOL5.06.5%$711

Borrows:

TokenAmountAPROwed
USDC5012.5%$50.02

Health Factor: 3.5 (Very Safe) Net APY: ~6.8%

You're earning 8.2% on your USDC deposit and paying 12.5% on your borrow. Your net APY factors in both sides of the position.

Meteora: Liquidity Pools

Provide liquidity to trading pools and earn fees when people swap tokens.

Find Pools

You: "Find Meteora pools for SOL"

Bot: "Top Meteora pools for SOL:"

DLMM Pools:

PoolTVL24h FeesAPR
SOL/USDC$12.5M$45K32%
SOL/USDT$8.2M$28K28%

Dynamic AMM Pools:

PoolTVL24h FeesAPR
SOL/USDC$5.8M$12K18%

DLMM pools have higher APR but require active management. Dynamic AMM pools are simpler and set-and-forget.

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."

You're now earning a share of all trading fees from people swapping between SOL and USDC.

Check Your Positions

You: "Show my Meteora positions"

Bot: "Your Meteora positions:"

PoolTypeDepositedCurrent ValueFees Earned
SOL/USDCDAMM$284$290$6.20

Total LP Value: $290

Your position grew from $284 to $290. Some of that is price movement, some is fees earned.

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."

You pulled half your position out and got back both tokens plus your share of accumulated fees.

Sanctum: Liquid Staking

Check rates for Solana liquid staking tokens. When you stake SOL natively, it's locked. Liquid staking gives you a token representing your staked SOL that you can still use in DeFi.

Check LST Rates

You: "What are the Sanctum LST rates?"

Bot: "Sanctum LST Overview:"

LSTPrice (SOL)APY
mSOL1.0827.2%
bSOL1.0656.8%
jitoSOL1.0747.5%
INF1.0586.5%

Best yield: jitoSOL at 7.5% APY

If you're holding SOL long-term, converting it to jitoSOL lets you earn 7.5% staking rewards while keeping your tokens liquid for DeFi.

Exploring Other Protocols

Raydium Pools

You: "Search Raydium pools for SOL"

Bot: "Raydium Pools for SOL:"

PoolTypeTVLAPR
SOL/USDCCLMM$45M24%
SOL/USDTCPMM$12M18%

Use pool IDs for detailed info.

Raydium is another major Solana DEX. Your bot can pull pool data and help you compare rates across protocols.

Pendle Yield Markets

You: "Show Pendle yield markets on Ethereum"

Bot: "Pendle Markets (Ethereum):"

MarketUnderlyingMaturityFixed APYImplied APY
stETH Mar'26Lido stETHMar 20264.2%3.8%
sDAI Jun'26Maker sDAIJun 20265.1%4.9%

Pendle lets you lock in fixed yields or speculate on future rates.

Pendle tokenizes yield, letting you trade future yield separately from the underlying asset. It's advanced DeFi but your bot can show you what's available.

Drift Protocol

You: "Show Drift perpetual markets"

Bot: "Drift Perp Markets:"

MarketPriceFunding (1h)OI
SOL-PERP$142.35+0.0008%$25M
BTC-PERP$98,450+0.0012%$45M
ETH-PERP$3,850-0.0003%$18M

Drift is a perpetual DEX with its own vaults. Your bot can pull market data and vault performance.

Real-World DeFi Strategies

Strategy 1: Idle USDC Yield

You have USDC sitting in your wallet doing nothing. Put it to work.

  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 working

Now your USDC is earning yield instead of sitting idle.

Strategy 2: Leveraged Yield

Deposit SOL as collateral, borrow USDC against it, and deploy the borrowed USDC to earn even 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 above 2)
  3. "Add liquidity to SOL/USDC on Meteora" — Earn LP fees with borrowed USDC
  4. "Show my DeFi portfolio" — Monitor all positions together

You're now earning yield on your original SOL deposit, plus LP fees from the borrowed USDC. Just watch your health factor — if SOL price drops, you could get liquidated.

Strategy 3: LP Farming

Provide liquidity to high-APR pools to earn trading fees.

  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 want

Tips for DeFi

  • Start with Kamino lending. It's the simplest way to earn yield with low risk. Deposit stablecoins, earn interest, withdraw anytime. No impermanent loss, no complicated pool mechanics.
  • Monitor health factors. If you're borrowing on Kamino, check your health factor regularly. Keep it above 2.0 to stay safe from liquidation.
  • Compare APYs across protocols. Rates change constantly based on supply and demand. Before you commit a large amount, check a few protocols to see where you're getting the best rate.
  • DLMM vs Dynamic AMM. DLMM pools (concentrated liquidity) have higher APR because your liquidity is focused in a specific price range. But you need to watch them — if the price moves out of your range, you stop earning fees. Dynamic AMM pools are simpler and more hands-off.
  • Check Sanctum LSTs. If you're holding SOL long-term, converting to a liquid staking token like jitoSOL lets you earn staking rewards while keeping your tokens liquid for DeFi.
  • Use the two-step workflow. All DeFi operations show a preview first. You see exactly what you're depositing, borrowing, or providing as liquidity before anything executes. If the numbers don't look right, don't confirm.
  • Track your net APY. If you're borrowing and lending at the same time, make sure your earnings exceed your borrowing costs. Earning 8% on deposits while paying 12% on borrows means you're losing 4% net unless you're doing something else with the borrowed funds that earns more than 12%.

D0 — Your personal AI trading assistant on Telegram