c2siorg / NFT-Toolbox

A non-fungible token (NFT) is a non-interchangeable unit of data stored on a blockchain, a form of digital ledger, that can be sold and traded. Each NFT has its own unique identity. Design NFT’s along with building a web3 dapp, that can mint NFTs.
Apache License 2.0
1 stars 4 forks source link

Adding support for Dynamic and Nested NFTs #8

Open AnmolSirola opened 5 months ago

AnmolSirola commented 5 months ago

To Implement Support for Dynamic and Nested NFTs, we add the following changes to our project:

First, we will create an ERC-721 compliant smart contract. This contract will include the standard functions required by the ERC-721 standard. To support metadata for each NFT, the contract will implement the tokenURI function, which returns a unique URI for each NFT. This URI can point to a JSON file containing metadata such as the NFT's name, description, image, and other properties.

With this basic ERC-721 contract in place, we can proceed to make the necessary changes to support dynamic and nested NFTs:

1) Smart Contracts:

2) Contract Interaction Functions:

3) Collection and Contract Classes: