AMM basics — how automated exchanges work
After this module
You'll learn to provide liquidity yourself and earn trading fees — becoming a "mini exchange owner" instead of just a user. You'll understand how concentrated liquidity works, and how to deliberately pick the price range where your money works hardest.
What is an AMM?
AMM (Automated Market Maker) is like an automatic currency exchange machine. Drop in one currency — get another out. It's always open, no need to wait for another person.
A currency exchange analogy
Remember currency exchange booths at the airport? You show up with euros, get dollars back. The booth is always ready — because it already holds money. An AMMAMMAutomated Market Maker — an algorithm that lets tokens be swapped without an order book. Prices are set by a formula.Read the lesson → works exactly the same way, just online and with crypto.
AMM vs Order Book
Order Book (Binance, NYSE): buyers and sellers post their prices. Someone else has to agree to your price. Like a marketplace.
AMM (UniswapUniswapAn Ethereum concentrated-liquidity protocol (V3/V4). Its Solana counterpart is Orca.Read the lesson →, OrcaOrcaA Solana DEX with concentrated liquidity (Whirlpool). The basis of our LP strategy on the Solana network.Read the lesson →): the money is already sitting in a "pool". A formula sets the price automatically. You can swap any time, no waiting. Like a vending machine.
How Order Book and AMM differ
| Order Book | AMM | |
|---|---|---|
| How the price is set | People's orders | A math formula |
| Who provides the money | Professional market makers | Anyone (an LPLPLiquidity Provider — deposits tokens into a pool and earns a share of trading fees.Read the lesson →) |
| Runs 24/7 | Depends on participants | Yes, always |
| Capital needed to start | A lot | Any amount |
| Speed | Milliseconds (centralized) | Block time (1–12 sec) |
The old model — x * y = k
The first AMMAMMAutomated Market Maker — an algorithm that lets tokens be swapped without an order book. Prices are set by a formula.Read the lesson → formula (UniswapUniswapAn Ethereum concentrated-liquidity protocol (V3/V4). Its Solana counterpart is Orca.Read the lesson → V2) was very simple:
x * y = k
Where:
x= the amount of one token in the pool (e.g., SOLSOLSolana's native token. Used to pay gas and as collateral.)y= the amount of the other token in the pool (e.g., USDCUSDCA USD stablecoin issued by Circle. Regulated, audited monthly. Our primary stablecoin and loan asset in the Kamino/Aave strategies.)k= a constant (always stays the same)
Example: the pool holds 1,000 SOLSOLSolana's native token. Used to pay gas and as collateral. and 100,000 USDCUSDCA USD stablecoin issued by Circle. Regulated, audited monthly. Our primary stablecoin and loan asset in the Kamino/Aave strategies.. Price = 100,000 / 1,000 = $100 per SOL.
The problem: most of the money does nothing
An employee analogy
Imagine you have 20 employees. But only 1 actually works. The other 19 just sit around waiting "in case they're needed someday." That's the old AMMAMMAutomated Market Maker — an algorithm that lets tokens be swapped without an order book. Prices are set by a formula.Read the lesson → model — your money is spread from $0 to infinity, but only about 5% of it actually works.
In the old model, your money "works" from $0 to infinity. But the SOLSOLSolana's native token. Used to pay gas and as collateral. price fluctuates, say, between $60 and $120. Most of that money just sits there doing nothing.
Concentrated Liquidity — the revolution
In 2021, UniswapUniswapAn Ethereum concentrated-liquidity protocol (V3/V4). Its Solana counterpart is Orca.Read the lesson → V3 introduced concentrated liquidity — a new idea. Instead of your money working everywhere, it works only where most of the trading actually happens.
A marketplace analogy
Instead of setting up your market stall all over the city (with most spots standing empty), you set it up right in the center of the market, where most of the buyers walk by. Less space, but far more sales.
| Model | Where the money works | Efficiency | Income |
|---|---|---|---|
| Old (V2) | $0 → infinity | ~5% working | Small |
| New (V3) | $64 → $120 | ~80% working | Much bigger |
How this works
Instead of spreading $100,000 from $0 to infinity, you say: "I'm only providing liquidity between $80 and $100."
Result:
- Your $3,200 concentrated position ($64–$88) = like $50,000+ in the old model
- Income only comes in while the price is inside your range
- Once the price leaves — the income stops
An efficiency example
| Capital | Model | Equivalent | Efficiency |
|---|---|---|---|
| $3,200 | Concentrated ($64–$88) | ~$50,000 old-style | 15.6x |
| $10,000 | Concentrated ($80–$100) | ~$200,000 old-style | 20x |
| $50,000 | Old-style ($0–infinity) | $50,000 | 1x |
What is an LP (liquidity provider)?
LP (Liquidity Provider) — a person who puts their money into an AMMAMMAutomated Market Maker — an algorithm that lets tokens be swapped without an order book. Prices are set by a formula.Read the lesson → pool. In exchange, they receive a share of the fee from every swap.
LP = a mini exchange owner
By providing liquidity, you become an exchange owner. Every time someone swaps SOLSOLSolana's native token. Used to pay gas and as collateral. for USDCUSDCA USD stablecoin issued by Circle. Regulated, audited monthly. Our primary stablecoin and loan asset in the Kamino/Aave strategies. through your pool — you get a cut of the fee. Like a store markup — a slice of it goes to you.
There's also one trade-off worth understanding: Impermanent Loss — when the price moves, the makeup of your position changes. That's not a surprise, it's a known, calculable quantity: you can estimate it in advance and manage it by choosing your price range carefully. Exactly how to calculate and compensate for it — that's a separate lesson, 4-6.
How it works:
- The LPLPLiquidity Provider — deposits tokens into a pool and earns a share of trading fees.Read the lesson → deposits money into the pool (e.g., SOLSOLSolana's native token. Used to pay gas and as collateral. + USDCUSDCA USD stablecoin issued by Circle. Regulated, audited monthly. Our primary stablecoin and loan asset in the Kamino/Aave strategies.)
- People swap currencies through that pool
- Every swap pays a fee (0.01%–1%)
- The LPLPLiquidity Provider — deposits tokens into a pool and earns a share of trading fees.Read the lesson → receives a share of the fee, proportional to their deposit
Where does Concentrated Liquidity operate?
Why does this matter for our strategies?
In our strategies, concentrated liquidity is one of the main income sources:
- Strategy A: ~2/3 of borrowed USDCUSDCA USD stablecoin issued by Circle. Regulated, audited monthly. Our primary stablecoin and loan asset in the Kamino/Aave strategies. goes into LPLPLiquidity Provider — deposits tokens into a pool and earns a share of trading fees.Read the lesson →
- Strategy B: the USDCUSDCA USD stablecoin issued by Circle. Regulated, audited monthly. Our primary stablecoin and loan asset in the Kamino/Aave strategies. position generates ~68% APRAPRAnnual Percentage Rate — the annual interest rate WITHOUT compounding. 10% APR = +10% per year. from fees (a point-in-time figure for the example position)
- LPLPLiquidity Provider — deposits tokens into a pool and earns a share of trading fees.Read the lesson → income covers the cost of insurance and debt
Without concentrated liquidity's efficiency, these strategies simply wouldn't work. The old LPLPLiquidity Provider — deposits tokens into a pool and earns a share of trading fees.Read the lesson → model wouldn't generate enough income.
Key terms for this module
| Term | Meaning |
|---|---|
| AMM | Automated Market Maker — a program that swaps currencies |
| LP | Liquidity Provider — a person who puts money into a pool |
| Pool | The reserve where both tokens are held |
| Range | The price interval where your money is working |
| Fee Tier | The fee size (0.01%, 0.05%, 0.30%, 1.00%) |
| Tick | The smallest price increment in the system |
| IL | Impermanent LossImpermanent LossA loss in an LP position caused by price changes relative to holding the assets. Called "impermanent" because it can recover if the price returns to its starting level.Read the lesson → — the potential loss from a price change |
Next up: We'll start with UniswapUniswapAn Ethereum concentrated-liquidity protocol (V3/V4). Its Solana counterpart is Orca.Read the lesson → V3 — the protocol that first created concentrated liquidity.
Theory's clear — now go see what AMM pools actually look like in the real world. Takes about 10 minutes, no money required — just exploring.
In this task we're ONLY looking — don't open any position, and you don't need to connect a wallet. Orca runs ONLY on the Solana network.
This is learning, not investing — use only small amounts you treat as tuition.
You just compared real LP pools by Volume/TVL and fee tier — that's exactly the calculation experienced LPs use to decide where to put their money.