Participation Trophy NFT
This project is a simple Solidity smart contract that allows participants to mint NFTs as proof of participation in an event. The contract follows the ERC721 standard for Non-Fungible Tokens (NFTs).
描述
Participation-Trophy-NFT
This project is a simple Solidity smart contract that allows participants to mint NFTs as proof of participation in an event. The contract follows the ERC721 standard for Non-Fungible Tokens (NFTs).
Features
Mint NFTs for Event Participation: Participants can mint a unique NFT each time they join an event.
ERC721 Standard: The contract follows the ERC721 standard, ensuring that the minted tokens are compliant with common NFT platforms.
No Inputs Required: The contract is designed to mint NFTs without requiring any input parameters during the deployment or minting process.
Track NFT Ownership: The contract tracks ownership of each NFT and allows users to query how many tokens they own and their specific token IDs.
How It Works
Minting an NFT: Participants can mint a new NFT by simply calling the
mintNFT()
function. This will assign them a unique token ID and store it in the contract.Token Ownership: Each minted NFT is associated with the participant's address and can be queried via
ownerOf()
andtokensOfOwner()
functions.Event Logging: The
NFTMinted
event is triggered every time an NFT is successfully minted, logging the owner's address and token ID.
本次黑客松进展
50
技术栈
融资状态
0