hackquest logo

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

  1. 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.

  2. Token Ownership: Each minted NFT is associated with the participant's address and can be queried via ownerOf() and tokensOfOwner() functions.

  3. Event Logging: The NFTMinted event is triggered every time an NFT is successfully minted, logging the owner's address and token ID.

本次黑客松进展

50

技术栈

Solidity

融资状态

0

更多项目