> For the complete documentation index, see [llms.txt](https://polydash.gitbook.io/polydash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polydash.gitbook.io/polydash-docs/polypad/gated-mints.md).

# Token-gated NFT mints

A gated collection is an NFT collection linked to a Polypad token, with an optional holder-only phase before the public phase.

## Who it is for

The creator of a Polypad token who wants to reward holders with early or cheaper access to an NFT mint.

## How it works

`PolypadGatedNFTFactory` lets the launch creator of a Polypad token deploy a `PolypadGatedCollection` linked to that token. Only the token's launch creator can create a collection, checked against either Polypad launch factory.

{% stepper %}
{% step %}

### Create the collection

The creator sets the gate token, a minimum balance, holder and public prices, per-wallet caps, and the holder phase length.
{% endstep %}

{% step %}

### Holder phase

Wallets that hold at least `minBalance` of the gate token at mint time can mint at the holder price. `holderMint` is restricted to externally owned accounts to block flash-loan borrow, mint, and repay.
{% endstep %}

{% step %}

### Public phase

After the holder phase, anyone can mint at the public price. Smart-contract wallets can use the public phase.
{% endstep %}
{% endstepper %}

Gating is optional. With `holderDuration = 0` and holder parameters set to zero, the collection is a plain fixed-price open mint.

## Key properties

* Holder eligibility is a balance check at mint time.
* Per-wallet caps apply to holder mints and to all mints. Moving gate tokens between wallets does not reset a wallet's count.
* The existing open Polypad NFT factories are unchanged.

## Contract

PolypadGatedNFTFactory: [`0x64727D49FB9F8E669C0759B9b8e8f1bd6c99325d`](https://robinhoodchain.blockscout.com/address/0x64727D49FB9F8E669C0759B9b8e8f1bd6c99325d) (Sourcify exact match)

## Risks

A gate is a balance check. It does not verify who holds the tokens. The contracts are **Not audited.**


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://polydash.gitbook.io/polydash-docs/polypad/gated-mints.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
