🟒Saber

"Saber is the leading cross-chain stablecoin exchange on Solana"

  • Stable swap is optimised for assets that trade at nearly the same value (ie USDC/USDT)

  • Saber’s product is its own β€œAutomated Market Maker” contract. Meaning they have their own smart contract which calculates how much an asset should be swapped for

Different types of AMMs

Constant Product AMM (useful for assets which have volatile prices)

IE Liquidity Pool, price slippage

X*Y=K // Token A value * Token B Value = Constant

Constant Sum AMM (1:1 trading)

IE Treading assets with the exact same price, no slippage

X+Y=K // Token A price + Token B price = Constant

Stable swap - Saber's AMM calculation

A combination of

X + Y + X*Y = D + (D/2)^2

Last updated