Creating a Collection and Minting Tokens (ART20)
Workflow:
Initialize Module: The creator deploys or uses the
init
entry function to set up ART20.Create Collection: Call
mint_art20(...)
to define a new NFT collection with a name, description, URIs, and initial supply.Additional Minting: If the max supply isn’t reached, call
mint_additional_art20(...)
to add more NFTs as the collection grows.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:
Last updated