Protocols / Dexs
Meteora DAMM V1
Meteora's legacy Dynamic AMM (DAMM v1) on Solana: constant-product, stable and LST/depeg pools whose reserves sit in Meteora Dynamic Vaults. An agent can swap, add/remove liquidity, create permissionless pools and lock LP via the `amm` program, most easily through @meteora-ag/dynamic-amm-sdk or by routing swaps through Jupiter.
On-chain + APISOLANA4 contractsWebsite · Docs
get_protocol({ "protocol": "meteora-damm-v1" })Risks an agent should know
- Legacy product: Meteora describes DAMM v1 as legacy and recommends DAMM v2 for new pools; existing pools keep working.
- Permissionless pool creation: anyone can create pools for any mint, including scam/copycat tokens and duplicate pools; always verify mints (Meteora's Staying Safe guide points to Rugcheck, JupShield and Jupiter Organic Score).
- Programs are upgradeable (BPFLoaderUpgradeable) by Meteora. Admin-only instructions can disable pools (balanced withdrawals still allowed), set pool fees and partner settings, create/close configs and update launch activation points; operator accounts can withdraw/zap protocol fees.
- Pool reserves are held in Dynamic Vaults that lend idle liquidity to external Solana lending strategies (managed by Meteora's off-chain Hermes keeper), adding strategy/smart-contract risk of those protocols.
- Launch pools can block swaps until an activation point and may have an Alpha Vault with pre-activation access.
- LP locks are permanent; locked LP can only claim fees.
- Audits listed on Meteora's DAMM v1 audit page: Offside Labs, Halborn, Oak. Dynamic Vault has a separate audit page.
What an agent can do
| swap | Swap on a DAMM v1 pool Simplest: route through Jupiter (Meteora's own UI swaps via Jupiter Terminal), which includes Meteora pools. Direct: const pool = await AmmImpl.create(connection, poolAddress); const q = pool.getSwapQuote(inMint, inAmount, slippagePct); const tx = await pool.swap(owner, inMint, inAmount, q.minSwapOutAmount); sign and send. |
| find-pool | Find DAMM v1 pools for a token GET https://damm-api.meteora.ag/pools/search?include_token_mints=<mint> or AmmImpl.searchPoolsByToken(connection, mint) |
| add-liquidity | Deposit into a pool pool.getDepositQuote(aIn, bIn, true, slippage) -> pool.deposit(owner, q.tokenAInAmount, q.tokenBInAmount, q.minPoolTokenAmountOut) (program add_balance_liquidity) |
| remove-liquidity | Withdraw from a pool pool.getWithdrawQuote(lpAmount, slippage) -> pool.withdraw(owner, lpAmount, q.minTokenAOutAmount, q.minTokenBOutAmount) (program remove_balance_liquidity) |
| create-pool | Create a permissionless pool AmmImpl.createPermissionlessPool(...) with an allowed fee tier, or createPermissionlessConstantProductPoolWithConfig2(...) with a published config key (see https://docs.meteora.ag/developer-guides/damm-v1/pool-fee-configs). Meteora recommends DAMM v2 for new launches. |
| lock-lp | Lock LP and keep earning fees pool.lockLiquidity(owner, amount) (create_lock_escrow + lock); claim with pool.claimLockFee2(owner, maxAmount, payer, receiver) |
Contracts
solana
| Contract | Address | Key functions | Try |
|---|---|---|---|
| DAMM v1 / Dynamic AMM (`amm` program) exchange | Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB source | writeswap(in_amount: u64, minimum_out_amount: u64) writeadd_balance_liquidity(pool_token_amount: u64, maximum_token_a_amount: u64, maximum_token_b_amount: u64) writeadd_imbalance_liquidity(minimum_pool_token_amount: u64, token_a_amount: u64, token_b_amount: u64) writeremove_balance_liquidity(pool_token_amount: u64, minimum_a_token_out: u64, minimum_b_token_out: u64) writeremove_liquidity_single_side(pool_token_amount: u64, minimum_out_amount: u64) writeinitialize_permissionless_pool_with_fee_tier(curve_type: CurveType, trade_fee_bps: u64, token_a_amount: u64, token_b_amount: u64) writeinitialize_permissionless_pool(curve_type: CurveType, token_a_amount: u64, token_b_amount: u64) writeinitialize_permissionless_constant_product_pool_with_config2(token_a_amount: u64, token_b_amount: u64, activation_point: Option<u64>) +5 more via get_protocol | |
| Dynamic Vault (`vault` program) vault | 24Uqj9JCLxUeoC3hGfh5W3s9FM9uCHDS2SG3LYwBpyTi source | writedeposit(token_amount: u64, minimum_lp_token_amount: u64) writewithdraw(unmint_amount: u64, min_out_amount: u64) writewithdraw_directly_from_strategy(unmint_amount: u64, min_out_amount: u64) | |
| DAMM v1 Farming program staking | FarmuwXPWXvefWUeqFAa5w6rifLkq5X6E8bimYvrhCB1 source | ||
| MET (Meteora token) token | METvsvVRapdj9cFLzq4Tr43xK4tAjQfwX76z3n6mWQL source | writeSPL Token transfer / transferChecked |
APIs
| DAMM v1 Data API auth: none | https://damm-api.meteora.ag Read-only indexed pool discovery and metrics: GET /pools, GET /pools/search (filter by mints, pool_type, TVL/APR), pool configs, fee configs, alpha vaults, farm-backed pools. Swagger at https://damm-api.meteora.ag/swagger-ui/. Not for exact state when building txs: load pools on-chain with the SDK. |
| @meteora-ag/dynamic-amm-sdk (TypeScript SDK) auth: none | https://github.com/MeteoraAg/damm-v1-sdk Official SDK: AmmImpl.create / createMultiple / searchPoolsByToken, getSwapQuote + swap, getDepositQuote + deposit, getWithdrawQuote + withdraw, createPermissionlessPool and config pool creators, lockLiquidity, claimLockFee2. Returns unsigned Transactions. Use v2.0.0+ with program 0.5.7. |
Notes
This entry is DAMM v1 only. Other Meteora products have their own programs (from official developer guides): DAMM v2 `cp_amm` cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG (pool authority HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC, https://docs.meteora.ag/developer-guides/damm-v2/index) and DLMM `lb_clmm` LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo (https://docs.meteora.ag/developer-guides/dlmm/index); both are separate DefiLlama entries and not listed as contracts here. All DAMM v1/vault/farm program IDs are identical on mainnet and devnet and were confirmed executable via getAccountInfo. Dynamic Vault affiliate program GacY9YuN16HNRTy7ZWwULPccwvfFSBeNLuAQP7y38Du3 is mentioned in the vault guide but omitted (not needed for DAMM v1). Instruction signatures come from the official IDL bundled in the SDK (https://github.com/MeteoraAg/damm-v1-sdk/blob/main/ts-client/src/amm/idl.ts); account lists are long (vaults, vault LP, protocol fee accounts), so build transactions with the SDK. The farming program is being deprecated per Meteora's farming changelog. Sample mainnet pools from the SDK reference: USDT/USDC 32D4zRxNc1EssbJieVHfPhZM3rH6CzfUPrWUuWxD9prG, USDC/SOL 5yuefgbJJpmFNK2iiYbLSpv1aZXq7F9AUKkZKErTYCvs. No standalone swap REST API is offered by Meteora; Jupiter is the usual aggregator path (Jupiter's own API is third-party and not documented here). No specific DAMM v1 security incident was found on official pages.
Sources
- https://defillama.com/protocol/meteora-damm-v1
- https://api.llama.fi/protocol/meteora-damm-v1
- https://docs.meteora.ag/llms.txt
- https://docs.meteora.ag/developer-guides/damm-v1
- https://docs.meteora.ag/developer-guides/damm-v1/program/instructions
- https://docs.meteora.ag/developer-guides/damm-v1/typescript-sdk/getting-started
- https://docs.meteora.ag/developer-guides/damm-v1/typescript-sdk/reference
- https://docs.meteora.ag/developer-guides/damm-v1/api-reference/overview
- https://docs.meteora.ag/developer-guides/damm-v1/changelog
- https://docs.meteora.ag/legacy-products/damm-v1/what-is-damm-v1
- https://docs.meteora.ag/legacy-products/damm-v1/implementation-and-limits
- https://docs.meteora.ag/developer-guides/dynamic-vault/index
- https://docs.meteora.ag/developer-guides/dynamic-vault/program/instructions
- https://docs.meteora.ag/developer-guides/damm-v2/index
- https://docs.meteora.ag/developer-guides/dlmm/index
- https://docs.meteora.ag/protocol/met/tokenomics
- https://docs.meteora.ag/resources/audits/damm-v1
- https://docs.meteora.ag/user-guides/swapping-tokens-on-meteora
- https://docs.meteora.ag/user-guides/staying-safe-on-meteora
- https://github.com/MeteoraAg/damm-v1-sdk
- https://github.com/MeteoraAg/damm-v1-sdk/blob/main/ts-client/src/amm/idl.ts
- https://api.mainnet-beta.solana.com
Researched 2026-11-25. Addresses are copied from the official sources above; check them before moving large amounts.