Excerise 2 Create Pool

A comprehensive guide to creating a new Uniswap V3 pool in Solidity. The lesson covers the process of creating a new Uniswap V3 pool using the Uniswap V3 factory contract, defining the tokens and the fee percentage of the pool, and testing the pool deployment.

1. Factory Contract Call
A technical guide to Uniswap V3 Factory Contract Calls - The lesson covers how the Uniswap V3 factory contract deploys pool contracts using the create2 function, which uses keccak256 hashing, and how the factory contract handles the initialization parameters of these contracts. Duration: 8min
2. Exercise 1 Get Pool
A comprehensive guide to testing UniswapV3Factory contract - The lesson covers two exercises for UniswapV3Factory. The first exercise involves getting the address of DAI/USDC pool with 0.1% fee, while the second exercise focuses on deploying a new pool with tokenA and tokenB and a 0.18% fee. Duration: 0min
3. Solution 1 Get Pool
A comprehensive guide to Uniswap V3 Factory. This lesson will help you understand how to use the Uniswap V3 Factory to create and manage pools on the Uniswap V3 exchange. We will go through the interface and how to call functions to interact with pools. Duration: 1min
4. Excerise 2 Create Pool
A comprehensive guide to creating a new Uniswap V3 pool in Solidity. The lesson covers the process of creating a new Uniswap V3 pool using the Uniswap V3 factory contract, defining the tokens and the fee percentage of the pool, and testing the pool deployment. Duration: 1min
5. Solution 2 Create Pool
A short and comprehensive tutorial on deploying a pool in Uniswap V3. This lesson shows how to use the 'createPool' function in the Uniswap V3 Factory contract to deploy a pool with two tokens and a set fee. Duration: 1min

Course Overview

About the course

What you'll learn

Concentrated liquidity and derive its equations

Uniswap V3 math

How to calculate the spot price of tokens

Single and multi position swapping

Factory contract architecture

How to calculate liquidity requirements

Uniswap V3 fee algorithm

Flash loans

TWAP price oracle

Course Description

Who is this course for?

  • Software Engineers
  • Financial Analysts
  • Web3 Developers
  • Finance developers
  • Smart Contract Security Researchers

Potential Careers

Smart Contract Auditor

$100,000 - $200,000 (avg. salary)

Blockchain Financial Analyst

$100,000 - $150,000 (avg. salary)

DeFi Developer

$75,000 - $200,000 (avg. salary)

Smart Contract Engineer

$100,000 - $150,000 (avg. salary)

Web3 developer

$60,000 - $150,000 (avg. salary)

Web3 Developer Relations

$85,000 - $125,000 (avg. salary)

Meet your instructors

Tasuku Nakamura

Tasuku Nakamura

Founder at smartcontract.engineer

Smart contract engineer and educator.

Last updated on August 11, 2025