Smart Contract ( Collection )

Before we can mint an NFT, we need to define the collection, of which the NFT will be a part, via the deployment of a smart contract.

Deploying the Contract

Before you mint a new NFT, you need to have an already deployed smart contract or deploy a new one. For this tutorial, we will deploy a new smart contract.

We will deploy the smart contract on the Near testnet. We need to provide the owner and the metadata of smart contract.

Example 1 : Default Contract metadata

Example 2 : Custom Contract metadata

Last updated