प्रायोजितTrading शुरू करें →
CryptoSahiHai
DeFi और Staking

Liquidity Pools और AMMs

DEXs order book के बिना कैसे काम करते हैं — formulas, pools, और liquidity providers से।

Lesson 3 of 77 min

DEX का backbone Automated Market Maker (AMM) है — एक mathematical formula जो prices set करती है बिना order book के। Liquidity pools यह make करते हैं possible।

Liquidity Pool क्या है?

LP एक smart contract है जो दो tokens hold करता है (e.g., ETH + USDC)। Users (LPs - Liquidity Providers) इन pools में deposit करते हैं, और LP tokens (representing their share) receive करते हैं। Traders इन pools के against trade करते हैं — pool tokens swap करता है formula-based।

AMM Formula (Uniswap V2):

Constant product: `x × y = k`

Where: - x = quantity of ETH in pool - y = quantity of USDC in pool - k = constant

Liquidity Pool — कैसे काम करती है

AMM formula (x × y = k) से प्राइसिंग। Pool starts: 10 ETH + 30,000 USDC।

Before Trade

10 ETH
+
30,000 USDC
k = 300,000

Trade: Buy 1 ETH

Formula solves:
9 × USDC = 300,000
USDC paid = 3,333
11% slippage!

After Trade

9 ETH
+
33,333 USDC
k = 300,000 ✓

✓ LP earns fees

~0.3% on each trade, proportional to share

⚠ LP faces impermanent loss

Price divergence costs over time

Example: Pool starts with 10 ETH + 30,000 USDC (each ETH @ $3,000) k = 10 × 30,000 = 300,000

Buyer wants to buy 1 ETH: - After trade: ETH_new = 9, USDC_new = ? - 9 × USDC_new = 300,000 - USDC_new = 33,333 - USDC paid = 33,333 - 30,000 = 3,333 - Effective price: 3,333 (vs market 3,000) = slippage of 11%

Smaller trades cheaper: - 0.1 ETH purchase: ~$3,030 (1% slippage) - 1 ETH purchase: ~$3,333 (11% slippage)

Formula auto-adjusts price — large trades move price significantly।

Why LPs provide liquidity?

Fee earnings: - Every trade pays ~0.3% fee to LPs (proportional to LP share) - High volume pools = high fee earnings - Example: ETH/USDC pool with $100M volume daily = $300K fees → split among LPs

If you provide 1% of pool, you earn 1% of fees → ~$3K/day if pool active।

LP risks:

1. Impermanent Loss। Most critical risk। If token prices change significantly, LP returns less than just holding both tokens। Detailed in next lesson।

2. Smart contract risk। Hacks possible (Uniswap audited but new pools risky)।

3. Liquidation cascade risk। Stablecoin depeg = pool imbalance।

Different AMM types:

Uniswap V2: Classic 50/50 pools (e.g., ETH/USDC)। Simple, established।

Uniswap V3: Concentrated liquidity — LPs choose price range। Higher capital efficiency, more complex।

Curve: Optimized for stablecoin swaps (USDC/USDT/DAI)। Very low slippage for similar-priced assets।

Balancer: Multi-token pools, custom weights (80/20, 50/30/20, etc.)।

India context — practical LP participation:

Easy entry: 1. Buy ETH + USDC on Indian exchange 2. Withdraw to MetaMask (Polygon network) 3. Visit QuickSwap (Polygon DEX) 4. "Pool" tab → Add liquidity to ETH/USDC pool 5. Earn ~5-15% APY from trading fees (depends on volume)

Tax treatment:

Provide LP: - Swap ETH + USDC into LP tokens = exchange of assets (taxable) - LP tokens = new asset, cost basis = swap FMV

Earn fees: - Accumulated fees = income at withdrawal - Section 56 → 30% + 4% cess

Withdraw LP: - LP tokens → ETH + USDC return - Another swap, another taxable event - Cost basis recalculation needed

Indian tax disaster: LP participation = 3-4 taxable events for one round trip। Plus impermanent loss = NOT deductible loss।

Reality: - Theoretical 15% APY on LP - Indian tax: 31.2% on fee income - Net: ~10% APY - BUT impermanent loss can wipe gains - Plus complex Schedule VDA reporting

Recommendation: LP participation Indian retail के लिए generally NOT recommended: - High complexity - Tax nightmare - Impermanent loss risk - Alternatives easier (stake ETH directly, hold USDC, FD)

LP for advanced users only: large amounts (₹10L+), active monitoring, comfortable with smart contract risks, willing to pay CA fees for tax handling।

📤 इस lesson को share करें

किसी दोस्त को crypto सीखने में help करें — एक tap में WhatsApp पर भेजो।

Share
Staking Available

Top exchanges पर crypto stake करें और rewards earn करें

Binanceदुनिया का सबसे बड़ा क्रिप्टो exchangeKuCoin700+ coins के साथ global crypto exchange

Affiliate link — इससे आपकी cost नहीं बढ़ती। हम commission earn करते हैं।