> For the complete documentation index, see [llms.txt](https://franky-murrey.gitbook.io/aptos-helper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://franky-murrey.gitbook.io/aptos-helper/usage/modules/liquidity/add-liquidity.md).

# Add liquidity

Add liquidity module

Available protocols: [Liquidswap](https://liquidswap.com/#/pools), [Thala](https://app.thala.fi/pools)

<div align="left"><figure><img src="https://4053290323-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIfK7rdLIiBmMN0rsB8dc%2Fuploads%2FoJ7Isttfjp85cj0K252g%2Fadd_liq.png?alt=media&amp;token=f376c0f5-9f1e-4739-8d33-7d3aa8a70bdc" alt="" width="377"><figcaption></figcaption></figure></div>

## Liquid Swap

Liquidity is added to stable pools, and the amount of <mark style="color:red;">**coin Y**</mark> will be automatically determined based on the protocol's formula.

&#x20;*Example: 100 USDC can require 140 USDT*

## Thala finance

Liquidity is added to stable pools, amount of Y equals to amount of X.

*Example: 100 USDC requires 100 USDT. If <mark style="color:purple;">**Send all balance**</mark> is turned on, the maximum amount of each token in the wallet balance will be used.*

{% hint style="info" %}
Every liquidity protocol has its own pools. Please check if the specific pool pair is available before using.
{% endhint %}

* <mark style="color:purple;">**Make reverse action**</mark> - will make second transaction wich will remove added liquidity.
* <mark style="color:purple;">**Min amount & Max amount**</mark> - the final amount of coin to add liquidity will be randomly chosen in the range of these numbers.
* <mark style="color:purple;">**Use  all balance**</mark> - will swap all the coins you have in your wallet.
* <mark style="color:purple;">**Send % of balance**</mark> - It will randomly select a number from the minimum and maximum amount fields. This number will represent the percentage of tokens used from your wallet balance.
* <mark style="color:purple;">**Slippage**</mark> - swap slippage in %
* <mark style="color:purple;">**Gas price**</mark> <mark style="color:purple;"></mark><mark style="color:purple;">&</mark> <mark style="color:purple;"></mark><mark style="color:purple;">**Gas limit**</mark> - price per gas unit and max used gas parameters ([Gas calculation method](/aptos-helper/usage/gas-calculation.md)).
* <mark style="color:purple;">**Force gas limit**</mark> - when turned on, the maximum gas limit will be exactly taken from the input.
