Skip to main content
Add liquidity to an existing HBAR/token liquidity pool. Outlined below are two methods to add liquidity to an existing pool on SaucerSwap:
To create a new liquidity pool, see Creating a new liquidity pool.
Ensure that the client has the LP token associated before adding liquidity.
A spender allowance for the Router contract is required for HTS tokens.
Both addLiquidityETH and addLiquidity support HTS tokens containing custom fees.

Adding HBAR/Token Liquidity

Add more liquidity to an existing HBAR/token liquidity pool. Function name: addLiquidityETH Recommended gas: 240,000 gwei (~ $0.020 USD)
The addLiquidityETH function operates in HBAR but derives its name from Uniswap on Ethereum. This name was kept to simplify integration for developers versed in Uniswap tools.

Code Overview

Resources:
Typescript

Adding Token/Token Liquidity

Add more liquidity to an existing token/token liquidity pool. Function name: addLiquidity Recommended gas: 240,000 gwei (~ $0.020 USD)

Code Overview

Resources:
Typescript