stellar-non-fungible
Generate a non-fungible token contract compatible with SEP-50 and similar to ERC-721. Customize with name, symbol, metadata URI, and optional features like burnable, pausable, or upgradeable.
Instructions
Make a non-fungible token per the Non-Fungible Token Standard, compatible with SEP-50, similar to ERC-721.
Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the contract | |
| symbol | Yes | The short symbol for the token | |
| tokenUri | No | The metadata URI returned by the token contract for every NFT. | |
| burnable | No | Whether token holders will be able to destroy their tokens | |
| votes | No | Whether to enable vote checkpoints and delegation for governance. | |
| enumerable | No | Whether the NFTs are enumerable (can be iterated over). | |
| consecutive | No | To batch mint NFTs instead of minting them individually (sequential minting is mandatory). | |
| pausable | No | Whether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response. | |
| mintable | No | Whether privileged accounts will be able to create more supply or emit more tokens | |
| sequential | No | Whether the IDs of the minted NFTs will be sequential. | |
| access | No | The type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileged action. A role can have many authorized accounts. | |
| explicitImplementations | No | Whether the contract should use explicit trait implementations instead of using the default ones provided by the library. | |
| upgradeable | No | Whether the contract can be upgraded. | |
| info | No | Metadata about the contract and author |