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