Skip to main content

V2 Add Liquidity Example

A complete example of adding liquidity to a V2 constant-product pool.

Full Code

With Native KAS

To add liquidity with native KAS, use addLiquidityETH:

Removing Liquidity