NFT Development Advanced NFT Mechanics Questions and Answers 1 — Questions and Answers
Question 1: A developer is creating a blockchain game where a primary character NFT needs to be able to own and equip other NFTs, such as swords and armor. Which EIP provides a standardized interface for creating these explicit on-chain parent-child relationships?
- EIP-2981 (NFT Royalty Standard)
- EIP-5192 (Minimal Soulbound Tokens)
- EIP-1155 (Multi Token Standard)
- EIP-6150 (Hierarchical NFTs) (Correct answer)
Correct answer: EIP-6150 (Hierarchical NFTs)
EIP-6150 is specifically designed to create hierarchical, filesystem-like relationships between NFTs, standardizing the concept of parent and child tokens. This allows one NFT to demonstrably own other NFTs on-chain, which is perfect for inventories or bundling. EIP-2981 is for royalties, EIP-5192 is for non-transferable tokens, and EIP-1155, while handling multiple token types, does not natively standardize this parent-child ownership structure.
Question 2: Which of the following best describes the core mechanic and intended purpose of a Soulbound Token (SBT) as proposed in standards like EIP-5192?
- It can be fractionally owned by multiple wallets through ERC-20 tokens.
- It is permanently bound to a single account and cannot be transferred. (Correct answer)
- It bundles multiple fungible and non-fungible tokens into a single token ID.
- It allows an NFT's metadata to be dynamically updated by a trusted oracle.
Correct answer: It is permanently bound to a single account and cannot be transferred.
The defining characteristic of a Soulbound Token is that it is non-transferable. Once issued to an account (a "soul"), it cannot be sold or sent to another account, making it ideal for representing personal achievements, credentials, or affiliations that should not be tradable.
Question 3: An NFT holder keeps a valuable 'blue chip' NFT in a secure cold wallet but wants to use a separate, low-fund 'hot' wallet to mint a new token for which they are eligible. Which mechanism allows the hot wallet to act on behalf of the cold wallet without transferring the valuable asset?
- Using a delegation registry like delegate.cash. (Correct answer)
- Wrapping the NFT into a wNFT contract.
- Fractionalizing the NFT and sending a share to the hot wallet.
- Implementing the EIP-2981 royalty standard on the minting contract.
Correct answer: Using a delegation registry like delegate.cash.
Delegation registries like delegate.cash allow a cold wallet to sign a message granting specific permissions to a hot wallet. The minting contract can then verify this on-chain delegation, allowing the hot wallet to perform actions (like minting) based on the assets held by the cold wallet, which never has to expose its private key online.
Question 4: What is a primary advantage of generating an NFT's image directly on-chain as an SVG within the smart contract, compared to linking to an image stored on IPFS?
- It significantly reduces the gas cost of the minting transaction.
- It allows for much more complex and high-resolution image data.
- It simplifies the process of updating the image after the NFT has been minted.
- It ensures the image's permanence is tied directly to the blockchain's own lifespan. (Correct answer)
Correct answer: It ensures the image's permanence is tied directly to the blockchain's own lifespan.
Storing the logic to generate an SVG on-chain means the visual representation is as permanent and decentralized as the token itself. It has no external dependencies on services like IPFS pinning or gateways, which could fail over time. This approach generally increases gas costs, is suitable for less complex vector graphics, and makes updates more difficult than changing an off-chain URI.
Question 5: A developer is creating a dynamic NFT whose appearance changes based on the real-world price of Ethereum. What is the most critical component for securely and reliably feeding this external price data to the smart contract?
- A private backend server that calls a centralized exchange API.
- A decentralized oracle network like Chainlink. (Correct answer)
- A function that allows the token owner to manually input the current price.
- Storing the image files on a high-availability centralized server.
Correct answer: A decentralized oracle network like Chainlink.
A decentralized oracle network is the standard solution for securely bringing external, real-world data onto the blockchain. Relying on a centralized API introduces a single point of failure and manipulation risk. Manual input is not automated or verifiable. The image storage location is irrelevant to the security of the data feed itself.
Question 6: Which of the following accurately describes the typical technical process of NFT fractionalization?
- The NFT's smart contract is upgraded to allow multiple owners in its internal mappings.
- The NFT is burned, and a new EIP-1155 contract is deployed with a supply equal to the fractions.
- The NFT is locked in a smart contract vault, which then mints fungible (e.g., ERC-20) tokens representing ownership shares. (Correct answer)
- The NFT's tokenURI is updated to point to a JSON file listing all fractional owners' wallet addresses.
Correct answer: The NFT is locked in a smart contract vault, which then mints fungible (e.g., ERC-20) tokens representing ownership shares.
The standard model for fractionalization involves a vault smart contract taking custody of the original NFT. This vault then issues a new set of fungible tokens (typically ERC-20) to the original owner. These fungible tokens represent ownership shares and can be freely traded, while the indivisible NFT remains securely locked.
A developer is creating a blockchain game where a primary character NFT needs to be able to own and equip other NFTs, such as swords and armor.
Which EIP provides a standardized interface for creating these explicit on-chain parent-child relationships?