Liquidity providers can include a hook when adding liquidity to Uniswap v4.
Hooks allow liquidity providers to customize Uniswap v4 liquidity pools and positions to fit their needs.
Important note: Hooks are developed by independent third-party developers who are not affiliated with Uniswap Labs. Exercise caution when adding hooks, as some may be malicious or cause unintended consequences.
To add liquidity with a hook to Uniswap v4:
- Open the web app and connect your wallet.
- Select “Pool”.
- Select “New”.
-
Select the first token drop-down.
- Select the first token you want to add liquidity with.
Consider the Total Value Locked (TVL), trading volume, and token pricing when selecting tokens. The Uniswap Explore page provides this information for existing pools. -
Select the second token drop-down.
-
Select the second token you want to add liquidity with.
-
Select “Add a hook”.
-
Enter the address of the hook you want to use.
-
Select “I understand the potential risks involved in adding this hook” after carefully reviewing any warning message.
-
Select “Continue”. This will add the hook to the liquidity position.
-
Choose a fee tier for your liquidity.
Select “Create or search for other fee tiers” to either create a new fee tier or search for an existing one. This option is available only for Uniswap v4.
A liquidity pool may or may not already exist for the selected fee tier. If the pool exists, then the liquidity position will be added to that pool. If the pool does not exist, then a new pool will be made. -
Select “Continue”.
-
Set the price range for the liquidity position. Either enter a custom range or choose the full range option.
When entering a custom price range, token prices will round to the nearest tick. For more information, see this article.
If the token price moves outside of the set custom price range then the liquidity position will become single-sided and will no longer earn fees. -
Select “Continue”.
-
Enter the amount of tokens you want to add liquidity with or select “Max” to use the maximum amount of tokens available.
-
Select “Review” to view the details of your liquidity.
-
Select “Create”.
-
Using your wallet, approve Permit2 to access your tokens. This step requires a network cost.
-
Using your wallet, sign the Uniswap Permit2 message. This step does not require a network cost.
-
Using your wallet, confirm the creation of your liquidity position. This step requires a network cost.
-
A confirmation notification will appear once the transaction is complete.
Once complete, an NFT will be sent to your wallet. This NFT represents your ownership of the liquidity position. For more information, see this article.
You can view and manage your liquidity position on the Uniswap Liquidity Positions page.