DeFi

Constant Product Formula (x*y=k)

The AMM pricing formula x * y = k, where x and y are the reserve quantities of two tokens and k is a constant. As one token is bought, its reserve decreases and price increases, following a hyperbolic curve. This ensures the pool never runs out of either token but causes increasing slippage for larger trades.

IDconstant-product

Lectura rápida

Empieza por la explicación más corta y útil antes de profundizar.

The AMM pricing formula x * y = k, where x and y are the reserve quantities of two tokens and k is a constant. As one token is bought, its reserve decreases and price increases, following a hyperbolic curve. This ensures the pool never runs out of either token but causes increasing slippage for larger trades.

Modelo mental

Usa primero la analogía corta para razonar mejor sobre el término cuando aparezca en código, docs o prompts.

Piensa en esto como una mecánica de mercado usada para poner precio, rutear o mover capital en apps de liquidez.

Contexto técnico

Ubica el término dentro de la capa de Solana en la que vive para razonar mejor sobre él.

AMMs, routing, liquidez, préstamos e infraestructura de trading.

Por qué le importa a un builder

Convierte el término de vocabulario en algo operacional para producto e ingeniería.

Este término desbloquea conceptos adyacentes rápido, así que funciona mejor cuando lo tratas como un punto de conexión y no como una definición aislada.

Handoff para IA

Handoff para IA

Usa este bloque compacto cuando quieras dar contexto sólido a un agente o asistente sin volcar toda la página.

Constant Product Formula (x*y=k) (constant-product)
Categoría: DeFi
Definición: The AMM pricing formula x * y = k, where x and y are the reserve quantities of two tokens and k is a constant. As one token is bought, its reserve decreases and price increases, following a hyperbolic curve. This ensures the pool never runs out of either token but causes increasing slippage for larger trades.
Relacionados: AMM (Creador de Mercado Automatizado), Pool de Liquidez
Glossary Copilot

Haz preguntas de Solana con contexto aterrizado sin salir del glosario.

Usa contexto del glosario, relaciones entre términos, modelos mentales y builder paths para recibir respuestas estructuradas en vez de output genérico.

Abrir workspace completa del Copilot
Explicar este código

Opcional: pega código Anchor, Solana o Rust para que el Copilot mapee primitivas de vuelta al glosario.

Haz una pregunta aterrizada en el glosario

Haz una pregunta aterrizada en el glosario

El Copilot responderá usando el término actual, conceptos relacionados, modelos mentales y el grafo alrededor del glosario.

Grafo conceptual

Ve el término como parte de una red, no como una definición aislada.

Estas ramas muestran qué conceptos toca este término directamente y qué existe una capa más allá de ellos.

Rama

AMM (Creador de Mercado Automatizado)

A protocol that enables token swaps using algorithmic pricing against pooled liquidity instead of matching individual buyers and sellers. AMMs use mathematical formulas (typically constant product x*y=k) to determine prices based on the ratio of tokens in a liquidity pool. On Solana, major AMMs include Raydium, Orca, and Meteora.

Rama

Pool de Liquidez

A smart-contract-held reserve of two or more tokens that enables trading via an AMM. Users deposit token pairs in specified ratios to become liquidity providers and earn trading fees. Pools are identified by their token pair and fee tier. Pool depth (total value locked) determines price impact for trades.

Siguientes conceptos para explorar

Mantén la cadena de aprendizaje en movimiento en lugar de parar en una sola definición.

Estos son los siguientes conceptos que vale la pena abrir si quieres que este término tenga más sentido dentro de un workflow real de Solana.

DeFi

AMM (Creador de Mercado Automatizado)

A protocol that enables token swaps using algorithmic pricing against pooled liquidity instead of matching individual buyers and sellers. AMMs use mathematical formulas (typically constant product x*y=k) to determine prices based on the ratio of tokens in a liquidity pool. On Solana, major AMMs include Raydium, Orca, and Meteora.

DeFi

Pool de Liquidez

A smart-contract-held reserve of two or more tokens that enables trading via an AMM. Users deposit token pairs in specified ratios to become liquidity providers and earn trading fees. Pools are identified by their token pair and fee tier. Pool depth (total value locked) determines price impact for trades.

DeFi

Coupon Rate

Annual interest rate paid by a bond issuer as percentage of face value. A 5% coupon on $1,000 bond pays $50/year. In tokenized bonds, coupon payments are automated as on-chain distributions. T-bills are zero-coupon (purchased at discount, redeemed at par).

DeFi

Confidence Interval (Oracle)

A measure of uncertainty published alongside each Pyth price feed, representing the range within which the true price likely falls. If SOL/USD is $150 with a confidence interval of $0.10, the price is between $149.90 and $150.10 with high probability. DeFi protocols should use confidence intervals to widen spreads or pause operations during periods of high uncertainty to avoid acting on imprecise prices.

Comúnmente confundido con

Términos cercanos en vocabulario, acrónimo o vecindad conceptual.

Estas entradas son fáciles de mezclar cuando lees rápido, haces prompting a un LLM o estás entrando en una nueva capa de Solana.

DeFicpmm

CPMM (Constant Product Market Maker)

The simplest and most widely used AMM model, based on the formula x * y = k where x and y are token reserves and k is an invariant. Every swap changes the ratio of reserves while keeping the product constant, producing a hyperbolic price curve. CPMMs provide liquidity across the full price range (0 to infinity) but are less capital-efficient than concentrated liquidity designs. Raydium's standard pools use this model.

AliasCPMM
Términos relacionados

Sigue los conceptos que realmente le dan contexto a este término.

Las entradas del glosario se vuelven útiles cuando están conectadas. Estos enlaces son el camino más corto hacia ideas adyacentes.

DeFiamm

AMM (Creador de Mercado Automatizado)

A protocol that enables token swaps using algorithmic pricing against pooled liquidity instead of matching individual buyers and sellers. AMMs use mathematical formulas (typically constant product x*y=k) to determine prices based on the ratio of tokens in a liquidity pool. On Solana, major AMMs include Raydium, Orca, and Meteora.

DeFiliquidity-pool

Pool de Liquidez

A smart-contract-held reserve of two or more tokens that enables trading via an AMM. Users deposit token pairs in specified ratios to become liquidity providers and earn trading fees. Pools are identified by their token pair and fee tier. Pool depth (total value locked) determines price impact for trades.

Más en la categoría

Quédate en la misma capa y sigue construyendo contexto.

Estas entradas viven junto al término actual y ayudan a que la página se sienta parte de un grafo de conocimiento más amplio en lugar de un callejón sin salida.

DeFi

AMM (Creador de Mercado Automatizado)

A protocol that enables token swaps using algorithmic pricing against pooled liquidity instead of matching individual buyers and sellers. AMMs use mathematical formulas (typically constant product x*y=k) to determine prices based on the ratio of tokens in a liquidity pool. On Solana, major AMMs include Raydium, Orca, and Meteora.

DeFi

CLMM (Concentrated Liquidity Market Maker)

An AMM design where liquidity providers concentrate their capital within specific price ranges instead of across the full 0-to-infinity range. CLMMs dramatically improve capital efficiency—LPs earn more fees per dollar deposited within their active range. If the price moves outside the range, the position becomes inactive. Orca Whirlpools and Raydium CLMM are leading implementations on Solana.

DeFi

Pool de Liquidez

A smart-contract-held reserve of two or more tokens that enables trading via an AMM. Users deposit token pairs in specified ratios to become liquidity providers and earn trading fees. Pools are identified by their token pair and fee tier. Pool depth (total value locked) determines price impact for trades.

DeFi

LP Token

A token issued to liquidity providers representing their proportional share of a pool's reserves and accrued fees. LP tokens can be burned to withdraw the underlying assets. The value of LP tokens changes as the pool's token ratios shift and fees accumulate. LP tokens are often stakeable in yield farming programs for additional rewards.