NFT - Part 1

What is an NFT? NFTs are unique digital assets stored on the blockchain, representing ownership of distinct items such as art, music, or collectibles. In Part 1 of the NFT course, we will learn the fundamentals of NFT contracts at a beginner-friendly level, including minting NFTs, querying NFTs by tokenId, and querying tokens by owner.

Skill LevelBeginner
Total Length1.3h

Intended Learners

Who’s This Course For

  • For developers who are interested in learning about DeFi
  • For developers who want to learn about the technical implementation of cryptocurrencies.


  • Basic understanding of Solidity is recommended - at a minimum, you should be familiar with the content from the course Solidity101 to Solidity103
  • Possess an Ethereum account, connected to both Mantle and a wallet, holding either Mantle tokens or test tokens (for those wishing to perform real on-chain operations, though deployment can also be done directly in a local environment if test tokens are not available).

What You’ll Learn

  • Writing projects in Solidity to implement the functions of minting, and querying information of NFTs.


  • Building contract and define variables

    Start our NFT contract by build the contract and define variables.

  • Mint NFT - Section 1

    Here, we will learn the initial steps of writing the mint NFT function, focusing on the function's structure and basic implementation.

  • Mint NFT - Section 2

    In this section, we will learn to complete the mint NFT function, ensuring its proper functionality within our smart contract.

  • getNFT

    Here, we will learn to query the information of newly minted NFTs, an essential function for tracking and managing NFT assets.

  • getTokensByOwner

    This part will focus on learning how to retrieve all the NFTs owned by a given address.


NFT - Part 1

25 lessons
Access on mobile and desktop