
A liquidity pool is a reserve of cryptocurrencies deposited into a smart contract to facilitate trades within decentralized finance applications, also known as DeFi. Instead of waiting for a buyer or seller with a matching order, users exchange their assets directly against the funds available in the pool.
The cryptocurrencies are supplied by participants known as liquidity providers, who may receive a share of the fees generated by transactions. However, providing funds to a liquidity pool does not guarantee a profit. The final result depends on trading volume, token price movements, fees, protocol incentives and technical risks.
Liquidity pool: A reserve of tokens managed by smart contracts and used to support trades or other DeFi operations.
Liquidity provider: A user who deposits cryptocurrencies into a pool and receives a proportional share of available fees or incentives.
AMM: Short for Automated Market Maker. It is the mechanism that calculates the conditions of each trade based on the assets held in the pool.
DEX: A decentralized exchange that allows users to trade tokens through smart contracts without a central entity directly holding their funds.
Impermanent loss: The difference between the value of a position inside a liquidity pool and the value the same assets would have had if they had remained in a wallet.
The process begins when liquidity providers deposit the tokens required by the protocol. In a pool made up of rBTC and DOC, for example, users may need to supply both assets at an equivalent value.
Suppose 1 rBTC is priced at USD 60,000 and DOC remains close to its USD 1 reference value. A balanced deposit could consist of 0.01 rBTC, worth approximately USD 600, and 600 DOC.
When another user wants to exchange DOC for rBTC, the transaction is executed directly against the pool’s reserves. As a result, the amount of DOC in the pool increases while the amount of rBTC decreases. The internal price changes automatically to reflect the new balance between the two assets.
Many liquidity pools use a constant product formula:
x × y = k
In this formula, x represents the reserve of one token, y represents the reserve of the other and k is a constant. When the amount of available rBTC falls, the algorithm requires progressively more DOC to withdraw additional units. For this reason, a large transaction may have a significant price impact when a pool has limited liquidity.
A liquidity pool and an AMM are related, but they are not the same thing. The pool holds the assets, while the AMM defines how trades are calculated and how prices change when the reserves are modified.
Arbitrage traders also play an important role. If the price of rBTC inside the pool differs from the price available on other markets, traders may buy where the asset is cheaper and sell where it is more expensive. These transactions change the reserves and help reduce price differences between markets.
Each trade may include a transaction fee. Part of that fee can be distributed among liquidity providers according to their share of the pool. If a position represents 2% of the available liquidity, it may receive a similar proportion of the fees, although the exact rules depend on the protocol.
Some platforms also distribute reward tokens to attract liquidity. These incentives may temporarily increase the displayed annual return, but their price can change and the reward programme may end.
To calculate the actual result, liquidity providers must consider the fees received, additional incentives, changes in the value of rBTC and DOC, impermanent loss and the network costs required to deposit or withdraw the assets.
A user provides 0.01 rBTC and 600 DOC when 1 rBTC is worth approximately USD 60,000 and DOC remains close to USD 1. At that point, each asset is worth about USD 600, so the initial total value of the position is USD 1,200.
Suppose the price of rBTC rises to USD 90,000. If the user had simply kept the assets in a wallet, the 0.01 rBTC would be worth USD 900, while the 600 DOC would still be worth approximately USD 600, for a total of USD 1,500.
Inside the liquidity pool, traders buy rBTC by supplying DOC. This changes the ratio of the reserves, so the liquidity provider’s position ends up containing less rBTC and more DOC. In a constant product pool, the position would be worth approximately USD 1,470, excluding any fees earned.
The difference of about USD 30 compared with the USD 1,500 the user would have had by holding the assets is known as impermanent loss. The fees earned by the position may fully or partially offset this difference, but there is no guarantee that they will be sufficient.
Traditional liquidity pools often contain two tokens with an equivalent initial value, but not every pool uses a 50/50 allocation. Some weighted pools use ratios such as 80/20, while other structures contain several assets or are designed for tokens that are expected to maintain similar prices.
There are also concentrated liquidity pools, where providers select a specific price range. While the market price remains within that range, the capital can support trades and generate fees. If the price moves outside the selected range, the position may become inactive and may consist mainly of one of the two assets.
A liquidity pool uses cryptocurrencies to facilitate trades and generate fees. Staking usually involves locking tokens to support the operation or security of a blockchain network. Yield farming combines different DeFi strategies to generate fees, interest or additional incentives.
These activities can be used together. A liquidity provider may receive a token representing their share of a pool and then deposit that token into another protocol. In this situation, additional smart contracts and risks are added to the original position.
Before providing assets, users should check how the pool calculates prices, what fees it generates, its trading volume and the amount of liquidity available. They should also review audits, smart contract permissions, the official contract addresses of rBTC and DOC, and the conditions required to withdraw funds.
The advertised return should be compared with potential impermanent loss, network costs and changes in the value of both assets. Evaluating these elements together provides a clearer understanding of how the pool works and the risks involved before depositing capital.