> 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/integration-and-workflows/typical-user-journeys/creating-a-collection-and-minting-tokens-art20.md).

# Creating a Collection and Minting Tokens (ART20)

**Workflow**:

1. **Initialize Module**: The creator deploys or uses the `init` entry function to set up ART20.
2. **Create Collection**: Call `mint_art20(...)` to define a new NFT collection with a name, description, URIs, and initial supply.
3. **Additional Minting**: If the max supply isn’t reached, call `mint_additional_art20(...)` to add more NFTs as the collection grows.
4. **Deny List (Optional)**: Set up a deny list via `initialize_deny_list(...)` if you need to restrict certain addresses.

**Result**: A collection of NFTs ready to be sold, traded, or further integrated with other modules.

**Example Script**:

```move
// Pseudocode: 
mint_art20(
  name: "Artinals Collection",
  description: "A fine selection of digital art.",
  initial_supply: 100,
  max_supply: 1000,
  uri: "...",
  logo_uri: "...",
  is_mutable: true,
  has_deny_list_authority: true,
  ...
);
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.artinals.com/artinals-protocol/integration-and-workflows/typical-user-journeys/creating-a-collection-and-minting-tokens-art20.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
