1.

Record Nr.

UNINA9910639886703321

Autore

Ottina Miguel

Titolo

Automated Market Makers : A Practical Guide to Decentralized Exchanges and Cryptocurrency Trading  / / by Miguel Ottina, Peter Johannes Steffensen, Jesper Kristensen

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2023

ISBN

1-4842-8616-2

9781484286159

Edizione

[1st edition 2023]

Descrizione fisica

1 online resource (301 pages)

Disciplina

296

Soggetti

Electronic trading of securities

Cryptocurrencies

Finance - Data processing

Blockchains (Databases)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

1. Introduction to AMMs -- 2. Uniswap v2 -- 3. Balancer -- 4. Curve Finance -- 5. Uniswap v3. .

Sommario/riassunto

Explore Automated Market Makers (AMMs), the underlying protocols used by decentralized exchanges (DEX) to allow users to perform trades of cryptocurrencies in a decentralized way with no middlemen. This book provides a thorough study and a clear-cut exposition of the principal AMMs (Uniswap v2 and v3, Balancer, and Curve). You'll receive a detailed description of how these AMMs work, unveiling the mathematics behind them and showing plenty of examples as well as novel proofs for several interesting facts. Each chapter describes an AMM's core idea and derives the mathematical formulas used in the code, giving careful explanations of the logical thinking involved and detailing the steps needed to reach those formulas. All these explanations are complemented with thoughtfully chosen examples which further help to enlighten the readers on how the formulae work. In addition, the relevant parts of the codes of the AMMs are shown after explaining each formula so that the actual implementation of the formulae can be seen. In a traditional trading market a buy order has to



be matched with a sell order to achieve a trade. However, for an AMM, users trade against the protocol itself, a smart contract, or a community pool of funds. In simple terms this is an open source computer program in which mathematical formulas define prices. Automated Market Makers examines this critical point revealing that no banks or intermediaries are necessary, giving crucial financial access to a much larger crowd, regardless of who they are with less barriers to access. You will: Understand the principals of decentralized finance (DeFi) Grasp mathematical formulae that underpin decentralized exchanges Work with Solidity programming language Review current industry best practices .