How does a decentralised exchange set its prices?
Many decentralised exchanges have no order book; they use a pool holding two tokens and a formula, x × y = k, to set the price.
Crypto Q&AIntermediate
0 of 40 watched
- What it means
- The price is the ratio between the two tokens in the pool. Buying one token takes it out of the pool, so its price rises with every unit bought: in a pool of 100 ETH and 300,000 USDC, buying 10 ETH costs about 33,333 USDC, an average of about 3,333 per ETH instead of 3,000.
- What to watch
- That price impact grows with trade size and shrinks in deeper pools; swap screens usually show it before you confirm.
More in Crypto Q&A
Up nextWhat is a DAO?A DAO is a group whose rules and shared treasury are managed by smart contracts instead of a company.
What is tokenomics?Tokenomics describes how a token's supply works: how many exist, who holds them and when more arrive.
What do validators do, and what is slashing?On Ethereum, validators lock at least 32 ETH to propose new blocks and vote on blocks from others.
Free guides and tools:Crypto taxCrypto basics