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.
目标学习者
这门课是给谁上的
- Developers who are interested in NFT transactions and market dynamics.
- Developers who want to learn how to build and manage an NFT marketplace.
要求
- 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)
你会学到什么
- Writing projects in Solidity to implement an NFT Marketplace, including the creation, listing, and getting orders.
课程安排
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](/_next/static/media/practices_img2.45015b81.png)
NFT Marketplace - Part 1