# Creating and Managing Liquidity Pools

**`create_pool<CURRENCY>(...)`**\
**Purpose**: Initialize a new trading pool by depositing a batch of NFTs and a corresponding amount of fungible tokens.\
**Process**:

1. Validate that the caller has the appropriate `collection_cap` to manage NFTs from a given collection.
2. Lock the specified NFTs and tokens into a new `TradingPool`.
3. Mint and distribute initial LP tokens to the liquidity provider (pool creator).
4. Emit a `PoolCreated` event.

**Use Cases**:

* Launching a new market for a freshly minted collection.
* Enabling price discovery through AMM-like mechanisms rather than fixed prices.

**Best Practice**:

* Set `fee_percent` thoughtfully to balance incentives between traders and liquidity providers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.artinals.com/artinals-protocol/trade-module/functions-and-entry-points/creating-and-managing-liquidity-pools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
