Dynamic NFT Metadata
DynamicNFT Metadata is a smart contract written in Solidity that allows the creation of NFTs with attributes that change over time. The contract is deployed on the Edu Chain.
Tech Stack
Description
DynamicNFT
Overview
DynamicNFT is a smart contract written in Solidity that allows the creation of NFTs with attributes that change over time. The contract is deployed on the Edu Chain.
Features
NFT Minting: Users can mint new NFTs without requiring any input during deployment.
Time-Based Attributes: NFT attributes change dynamically as time progresses:
Young: Less than 30 days old.
Mature: Between 30 and 90 days old.
Ancient: More than 90 days old.
On-Chain Storage: NFT metadata is stored and retrieved on-chain.
Deployment Details
Deployed Address:
0xbA7970ACFb74A2EF700441C9153CbB667EFD65DaBlockchain: Edu Chain
How It Works
Call the
mintfunction to create a new NFT.Use
getAttribute(tokenId)to check the attribute of an NFT based on its age.The attribute updates automatically as time progresses.
License
This project is open-source and available under the MIT License.