> For the complete documentation index, see [llms.txt](https://docs.artinals.com/artinals-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.artinals.com/artinals-protocol/market-module/functions-and-entry-points/trade-ledger-management.md).

# Trade Ledger Management

Trade Ledgers serve as the foundation for trading NFTs within a specific collection and currency.

1.1 Create Trade Ledger

Function:

```
public fun create_trade_ledger<CURRENCY>(
    registry: &mut LedgerRegistry,
    collection_cap: &CollectionCap,
    clock: &Clock,
    ctx: &mut TxContext
)

```

**Description:**

* Registers a **new trade ledger** for an NFT collection.
* Ensures only the **collection creator** can create a ledger.
* Stores **collection metadata** and tracks all buy/sell offers.

**Validations:**

* The sender must be the **creator** of the collection.
* The ledger must **not already exist**.
