โ† All NFT Flashcard Decks

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
  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.