Skip to main content
Apress

Automated Market Makers

A Practical Guide to Decentralized Exchanges and Cryptocurrency Trading

  • Book
  • © 2023

Overview

  • Know what Automated Market Makers are and how they work
  • Learn the theoretical and practical applications of Decentralised Exchanges
  • Understand industry best practices relating to cryptocurrency trading

This is a preview of subscription content, log in via an institution to check access.

Access this book

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

About this book

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 sothat 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.

What You'll Learn

  • Understand the principals of decentralized finance (DeFi)
  • Grasp mathematical formulae that underpin decentralized exchanges
  • Work with Solidity programming language
  • Review current industry best practices 

Who This Book Is For

  • Those new to Blockchain and Cryptocurrency trading, who want to learn more about AMMs
  • Developers who want to dive deeper into the core features of AMM platforms
  • Investors and venture capitalists who want to know more about new emerging technologies

Similar content being viewed by others

Keywords

Table of contents (5 chapters)

Authors and Affiliations

  • Mendoza, Argentina

    Miguel Ottina

  • Aarhus, Denmark

    Peter Johannes Steffensen

  • New York, USA

    Jesper Kristensen

About the authors

Miguel Ottina is a Mathematician born and raised in Buenos Aires. He obtained a degree in Mathematics in 2005 and a Ph.D. in Mathematics in 2009, both from the University of Buenos Aires, and worked as a Professor for many years. He has published several peer-reviewed academic articles and has given more than fifteen conference presentations.

In February 2022, he started working in the Web3 industry, ap- plying his mathematical knowledge and expertise to the cutting- edge field of cryptocurrencies and Decentralized Finance, and he has already become an expert in Automated Market Makers. After finding out that the literature on Automated Market Makers is frequently incomplete and not precise, he decided to write this book with Peter and Jesper so as to provide newcomers with a friendly, clear, and thorough explanation of the primary Automated Market Makers, and to offer developers a solid, broad and profound exposition which will allow them to gain a deeper understanding in order to continue building.



Peter Johannes Steffensen is a Mathematician holding a Ph.D. in Mathematics from the University of Aarhus. Since then, he has been working as a software architect in different financial institutions and has also had part-time university jobs. He has worked as a consultant in the Web3 space for over a year and saw there the perfect possibility to apply his mathematical knowledge and experience from the financial industry. His motivation for writing this book is to explain how the leading Automated Market Makers work and to provide a single point of entry for people that look for information on this topic.

Jesper Kristensen has worked in the Web3 space for years in both consulting and full-time capacities. Jesper holds a Ph.D. and two master’s degrees in Applied and Engineering Physics from Cornell University. Jesper worked four years at General Electric Research, publishing nine articles, one book chapter, and giving seventeen conference presentations and invited talks. Following this, he did stints in the Tech industry and Finance for three years, and has led a large Web3 Research department. His primary motivation for writing this book is twofold. First, when Jesper was first introduced to the Web3 space, he noticed that a lot of confusion about how Automated Market Makers worked circulated and that multiple people gave incorrect answers around their inner workings —and this book seeks to settle this type of conflicts. Second, he wants to offer a one-stop complete guide to learn about Automated Market Makers.

Bibliographic Information

Publish with us