Knowledge Flashcards
7 cards from real NFT practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Knowledge flashcards as text
On which blockchain are gas fees for minting NFTs typically lowest among these options?
Answer: Polygon
Polygon, a Layer 2/sidechain, offers far lower transaction fees than Ethereum mainnet.
What is the risk of storing metadata at a centralized HTTP URL instead of IPFS?
Answer: The server could go down or content could change, breaking the NFT
Centralized URLs can disappear or be altered, leaving the NFT's image or traits broken or mutable.
What does 'gas optimization' aim to achieve in NFT contract development?
Answer: Reducing the transaction cost of contract operations
Gas optimization reduces the computational cost users pay for minting and transfers.
Why do developers often use ERC721A instead of standard ERC-721 for large batch mints?
Answer: It significantly reduces gas when minting multiple tokens at once
ERC721A optimizes consecutive batch minting to save substantial gas compared to standard ERC-721.
What role does a wallet like MetaMask play for an NFT minting dApp?
Answer: It signs transactions and connects the user's account to the dApp
MetaMask connects the user's wallet and signs/sends transactions to interact with the contract.
What is a common reason a mint transaction reverts with 'execution reverted'?
Answer: A require() condition failed, such as exceeding max supply or insufficient payment
Reverts usually occur when a require/check fails, like sold-out supply or wrong ETH amount sent.
Why should the withdraw function in an NFT contract be restricted to the owner?
Answer: To prevent anyone from draining the contract's accumulated funds
Restricting withdrawals to the owner (e.g., via onlyOwner) prevents unauthorized users from stealing funds.