Skip to Content
Automated Market Makers: A Practical Guide to Decentralized Exchanges and Cryptocurrency Trading
book

Automated Market Makers: A Practical Guide to Decentralized Exchanges and Cryptocurrency Trading

by Miguel Ottina, Peter Johannes Steffensen, Jesper Kristensen
January 2023
Beginner to intermediate
301 pages
6h 25m
English
Apress

Overview

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Zero to Hero in Cryptocurrency Trading

Zero to Hero in Cryptocurrency Trading

Bogdan Vaida
Developing High-Frequency Trading Systems

Developing High-Frequency Trading Systems

Sebastien Donadio, Sourav Ghosh, Romain Rossier
Learn Algorithmic Trading

Learn Algorithmic Trading

Sebastien Donadio, Sourav Ghosh

Publisher Resources

ISBN: 9781484286166Purchase LinkPublisher Website