> ## Documentation Index
> Fetch the complete documentation index at: https://docs-d0.donutbrowser.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DeFi Yield & Lending

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

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](https://t.me/donut_d0_agent_bot?text=Deposit%20500%20USDC%20to%20Kamino), [Find Meteora pools for SOL](https://t.me/donut_d0_agent_bot?text=Find%20Meteora%20pools%20for%20SOL), or [What are the Sanctum LST rates?](https://t.me/donut_d0_agent_bot?text=What%20are%20the%20Sanctum%20LST%20rates%3F).

## 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

<Frame caption="Your Kamino position at a glance.">
  <img src="https://mintcdn.com/donut-6b37471f/gQVCF8OoHP81Xnrj/media/use-cases/defi-yield/kamino-portfolio.webp?fit=max&auto=format&n=gQVCF8OoHP81Xnrj&q=85&s=fba196903217ca33281bc5d0adfb26b6" alt="Kamino portfolio in Telegram" width="1280" height="432" data-path="media/use-cases/defi-yield/kamino-portfolio.webp" />
</Frame>

> **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%

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

<Frame caption="Live Meteora pools, ranked by yield.">
  <img src="https://mintcdn.com/donut-6b37471f/yIozPeaZclX7Tic8/media/use-cases/defi-yield/meteora-pools.webp?fit=max&auto=format&n=yIozPeaZclX7Tic8&q=85&s=8820ede0bc6d9859b4e155c4040ed396" alt="Meteora pools for SOL in Telegram" width="1280" height="882" data-path="media/use-cases/defi-yield/meteora-pools.webp" />
</Frame>

> **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% |

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

| Pool     | Type | Deposited | Current Value | Fees Earned |
| -------- | ---- | --------- | ------------- | ----------- |
| SOL/USDC | DAMM | \$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:"

| 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

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

| Pool     | Type | TVL   | APR |
| -------- | ---- | ----- | --- |
| SOL/USDC | CLMM | \$45M | 24% |
| SOL/USDT | CPMM | \$12M | 18% |

> 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):"

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

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

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

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