> For the complete documentation index, see [llms.txt](https://docs.fast.poker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fast.poker/architecture/nft-license-program.md).

# NFT license program

The NFT license program is the transfer wrapper for the 585 existing Dealer Licenses.

## Programs and collection

| Item                | Address                                        |
| ------------------- | ---------------------------------------------- |
| Wrapper program     | `WRAPYBFx2VZoMz9wwZbBoYA7PHDu6MR4ygNVgHLYcUW`  |
| Registry program    | `pokerQBdo685uLSkpVSyZ1vWooPYYTUhGkeKAHyCmax`  |
| MPL Core collection | `FPNFTgwX7cZUWaQHfCzPrrSRAbtHK8jRbfoWNsfh1PC8` |

## Lifecycle

`wrap_dealer_license` closes the caller's active registry license and creates one MPL Core asset in the configured collection. `unwrap_dealer_license` burns that asset and restores the same license number to the current asset owner.

The wrapper cannot create an additional license number. Supply is conserved: each license exists in exactly one of two states, active PDA or wrapped NFT.

| State                   | Meaning                                               |
| ----------------------- | ----------------------------------------------------- |
| Active registry license | Wallet-bound and eligible for credited dealer rewards |
| Wrapped NFT             | Transferable, but inactive for dealer rewards         |

## Royalties

Wrapped assets carry 5% secondary-sale royalty metadata. The creator list has one recipient: the Fast Poker Platform Fee treasury at 100%.

## Security properties

* Only the active license owner can wrap.
* Only the current NFT owner can unwrap.
* The collection and wrapper configuration are canonical PDAs.
* The registry accepts close/restore CPIs only from the wrapper's authority PDA.
* Primary issuance remains independently closed in the registry program.
