ERC-721 NFT Contract
A simple non-fungible token (NFT) contract with minting functionality. A simple non-fungible token (NFT) contract with minting functionality.Explanation
This contract creates a basic NFT collection. How it works:- Uses a
Counterslibrary to auto-increment token IDs. - Each
mint()call creates a new unique token assigned torecipient. - Inherits all ERC-721 standard behavior from OpenZeppelin.
Code
Canonical knowledge ID:
code-example:erc-721-nft-contract