Creating an NFT Smart Contract

In this section we will create an NFT Smart Contract using Openzeppelin Wizard

Create an NFT Smart Contract With Openzeppelin Wizard

Openzeppelin Wizard is an interactive smart contract generator based on OpenZeppelin Contracts

Openzeppelin Contracts Wizard

In this exercise, we will be creating a simple NFT contract. When you first open the wizard you will see an interface that has options for the type of contract you want to create including ERC20, ERC721, ERC1155, Governor & Custom. We will be selecting the ERC721 option as this is the token standard for NFTs.

On the left side you’ll notice the Settings tab. This is where we can configure various features for our NFT. We will be setting the following:

  • Name

  • Symbol

  • Mintable

  • Auto-increment Ids

You’ll notice that as you click various options, the code is automatically filled out for you. This makes it very quick and easy for you to generate templates for these contracts.

Last updated