hackquest logo

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.

기술 스택

Solidity

설명

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: 0xbA7970ACFb74A2EF700441C9153CbB667EFD65Da

  • Blockchain: Edu Chain

How It Works

  1. Call the mint function to create a new NFT.

  2. Use getAttribute(tokenId) to check the attribute of an NFT based on its age.

  3. The attribute updates automatically as time progresses.

License

This project is open-source and available under the MIT License.

해커톤 진행 상황

70

자금 모금 상태

0
팀 리더
TTanishka Dhakar
프로젝트 링크
부문
NFTAI