NFT Staking System
This course will cover how to create an NFT collateralization system, where users can collateralize their NFTs on the platform to earn platform token rewards. Key functionalities include NFT minting and management, issuance of reward tokens, and providing token rewards to users collateralizing NFTs.
课程安排
Unit 1 - Course Introduction
This chapter will cover the relevant knowledge of NFT collateralization.
Unit 2 - NFT Contract
This section introduces how to write an NFT smart contract using the Solidity language.
Unit 3 - Reward Token Contract
This section introduces how to use Solidity language to write a smart contract for reward tokens.
Unit 4 - Writing the Staking System Contract - Initialization (1)
This section introduces how to write a staking system contract using the Solidity language.
Unit 5 - Writing the Staking System Contract - Initialization (2)
In this section, we'll dive into writing a staking system contract using Solidity language.
Unit 6 - Implementing the Staking Functionality
In this section, we will delve into the logic behind implementing the staking functionality in our contract.
Unit 7 - Writing the Staking Rewards Calculation Feature
This section covers how to write the logic code for calculating staking rewards.
Unit 8 - Writing Reward Token Claim Function
This section covers how to write the logic code for claiming reward tokens.
Unit 9 - Writing Unstaking Functionality
This section covers how to write the logic code for unstaking NFTs.
NFT Staking System