

Workshop: Intro to AMM & DLMM — DeFi Fundamentals on Solana
Who it’s for: New Solana devs who want a clear, practical primer before touching real DEX protocols.
You will learn
What an AMM is and why it matters in DeFi.
The constant-product idea (x·y = k), pricing, fees, and basic slippage.
LP tokens, fees to LPs, and a simple view of impermanent loss.
What concentrated liquidity is and how DLMM differs from classic AMMs.
How a Solana swap works end-to-end: accounts, pools, price/quotes, and sending a tx on devnet.
Hands-on demo
Get a quote and submit a swap on devnet using web3.js/SDK.
Read basic tx logs and verify the result.
Agenda (60 mins)
05’ — Setup & concepts overview
15’ — AMM basics: pricing, fees, slippage
10’ — LP tokens & impermanent loss (intuitive)
10’ — Concentrated liquidity & DLMM concepts
15’ — Live devnet swap demo (quote → tx → result)
05’ — Q&A + next steps
Prereqs
Basic JavaScript/TypeScript.
Solana toolchain ready (CLI or wallet) and access to devnet.
Outcome
A working mental model of AMM vs. DLMM on Solana and a minimal script you can reuse to test swaps on devnet.