Uniswap, Balancer, and Curve have achieved to construct purely peer-to-peer exchanges which do not require any intermediary, and attracted already many users. But it is important to bear in mind that things could go wrong when using these AMMs naively as a price oracles.
Early decentralized exchange (DEX) proposals took their inspiration from classical exchange markets and made use of order books to match sell and buy orders. A complementary approach to offchain order books for decentralized exchanges uses the concept of automated market makers (AMMs). In this post we look at the basics of the following three AMM projects: Uniswap, Balancer, and Curve.