Back
Project

NFT Marketplace - Part 1

What is an NFT Marketplace? An NFT marketplace is a digital platform where you can buy and sell NFTs. In Part 1 of the NFT Marketplace course, we will learn how to implement an NFT trading market and sell the NFTs minted in the previous section on this trading market.

Languagesolidity
Skill LevelBeginner
Total Length1.7h

Intended Learners

Who’s This Course For

  • Developers who are interested in NFT transactions and market dynamics.
  • Developers who want to learn how to build and manage an NFT marketplace.

Requirements

  • Proficient in NFTs and the ERC721 standard.
  • Basic Solidity programming skills, with a recommendation to first complete foundational Solidity courses (at least Solidity 101 to 104)
  • 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 an NFT Marketplace, including the creation, listing, and getting orders.
listNFT
getOrder

Syllabus

  • Project Set Up

    Here we setup the contract for further variables and functionalities.


  • Constructor

    Here, we will learn how to assign the address value to the NFT contract, a crucial step in initializing our contract's functionality.


  • ListNFT - Section 1

    In this section, we will learn to define an event for new NFT listings, write the 'listNFT' function, ensure the NFT owner is the caller, and validate that the NFT's price is not set to zero.


  • ListNFT - Section 2

    We will continue with the 'listNFT' function, focusing on transferring the NFT to the trading marketplace contract, listing the NFT's information, and submitting the NFT listing event. GetOrder In this section, we will implement the feature of querying the information of a listed NFT item, enhancing the functionality of our NFT trading market contract.


  • getOrder

    We will implement the second feature of the NFT trading market contract: querying the information of a listed NFT item.

practice

NFT Marketplace - Part 1

24 lessons
Access on mobile and desktop