Uniswap V3 Book

Mastering Uniswap V3

Uniswap V3 innovated the concept of concentrated liquidity. Concentrated liquidity allows traders to get a better trade executions and enables liquidity providers to earn higher fees relative to a traditional xy = k AMM. As such, Uniswap V3 turned concentrated liquidity into a very popular DeFi primitive.

Skip to Contents

Uniswap V3 is notoriously one of the most complicated codebases in DeFi. However, developers and auditors should learn it as Uniswap V3 has spawned over 150 forks collectively holding over 2.5 billion dollars of value at this time of writing (source).

This book aims to be the most meticulous and thorough treatment of the subject, while also being highly accessible. Uniswap V3 has some extremely intimidating mathematical libraries that, until now, have no tutorials that explain how they work. We do not avoid the hard topics in Uniswap V3, but rather invest heavy effort in making them accessible.

However, this book is not a dense math treatment, but a gentle journey through a new domain that carefully introduces concepts only as they are needed while relating those concepts to what was covered before.

This book is also the first to include interactive animations and tools to speed up the learning process for the reader.

Our goal is to explain things as simply as possible, without oversimplifying. We assume the reader is familiar with Uniswap V2 already.

Don't Take Our Word For It

Here is what folks on X (formerly Twitter) had to say:

chrisdior.eth

@chrisdior777
This is sick! Huge thanks to @RareSkills_io. 🙏 This is the first article in a series explaining the Uniswap V3 codebase. How Concentrated Liquidity in Uniswap V3 Works

Dimitar Tsvetanov

@cvetanovv0
This is one of the best articles written by @RareSkills_io A must-read for anyone who wants to understand how Concentrated Liquidity in Uniswap V3 Works 👇

ddimitrov22

@ddimitrovv22
The only article you'll need to understand how concentrated liquidity in Uniswap V3 works. It can seem tricky to understand, but it's an absolute must as more and more projects use the same concept.

shafu

@shafu0x
The Uniswap V3 article on @RareSkills_io is amazing! I thought I understood how V3 works, but the visualizations provide an entirely new level of intuition.

Audita

@AuditaSecurity
Very good explanation of @Uniswap V3's concentrated liquidity by @RareSkills_io

GiuseppeDeLaZara

@windhustler
Another banger from @RareSkills_io The art of explaining what was already explained a 100 times

AlexSR

@0xAlexSR
Best article I found so far explaining easily uniswap v3 concentrated liquidity. Definitely a must read

InfectedCrypto

@InfectedCrypto
I wish I had this article from @RareSkills_io back then! So much info gathered and perfectly shared, lot of valuable insights that would have saved me few hours of research. Props to the team for putting together such a comprehensive resource!

BengalCatBalu

@BengalCatBalu
Just finished reading two @RareSkills_io articles on Uniswap V3. I’ve never understood Uniswap V3 this well before—absolute must-read! 🔥

This is not a beginner tutorial

We recommend the reader read the Uniswap V2 Book first and complete the Uniswap V2 Puzzles.