← All NFT Flashcard Decks

ERC-721 vs. ERC-1155 Standards Flashcards

6 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 6 ERC-721 vs. ERC-1155 Standards flashcards as text
  1. A blockchain-based game developer needs to create multiple in-game assets. Some assets are unique, like a legendary sword (NFT), while others are stackable, like health potions (fungible tokens). Which token standard is most suitable for this scenario and why?

    Answer: ERC-1155, because it supports both fungible and non-fungible tokens within a single smart contract.

    ERC-1155 is the ideal choice because it is a multi-token standard. This allows a developer to create and manage different types of tokens—non-fungible (like the sword), fungible (like potions), and even semi-fungible—all within one contract, which is highly efficient for complex systems like games.

  2. When considering gas efficiency for minting a large number of NFTs for a new collection, which of the following statements is most accurate?

    Answer: ERC-1155 is significantly more gas-efficient because it supports batch minting and transfers in a single transaction.

    ERC-1155 offers superior gas efficiency for large-scale operations. Its ability to perform batch transfers and mint multiple tokens in a single transaction drastically reduces the overall gas fees compared to ERC-721, which requires a separate transaction for each individual token transfer.

  3. A digital artist wants to release a series of 100 unique, one-of-a-kind art pieces. Each piece has distinct metadata and is intended to be a standalone collectible. Which token standard is the most conventional and straightforward choice for this use case?

    Answer: ERC-721, because it was specifically designed for truly unique, non-fungible assets, with each token having a distinct ID and metadata URI.

    ERC-721 is the original and most direct standard for creating unique, non-fungible tokens. Each token under ERC-721 is a distinct asset with its own unique `tokenId`, making it the perfect fit for projects like PFP collections or one-of-a-kind digital art where the individuality of each piece is paramount.

  4. Which feature is a key differentiator of the ERC-1155 standard compared to ERC-721?

    Answer: Support for semi-fungible tokens.

    ERC-1155 introduces the concept of semi-fungibility, where a token can be fungible within its own class (e.g., multiple copies of the same game item) but non-fungible compared to others. This is a feature not natively supported by the strictly non-fungible ERC-721 standard.

  5. A developer is migrating a project from ERC-721 to ERC-1155 to save on transaction costs. What is the primary architectural change they will leverage in the ERC-1155 standard to achieve this?

    Answer: Utilizing the `safeBatchTransferFrom` function to transfer multiple token types in a single transaction.

    The core advantage of ERC-1155 for gas savings is its batch functionality. Functions like `safeBatchTransferFrom` allow multiple different tokens (or quantities of the same token) to be sent in a single atomic transaction, significantly reducing the gas cost compared to the one-by-one transfers required by ERC-721.

  6. In an ERC-1155 contract, what is the relationship between a `tokenId` and its metadata URI?

    Answer: All tokens sharing the same `tokenId` also share the same metadata URI.

    In the ERC-1155 standard, the `uri` function retrieves metadata for a specific `tokenId`. This means that all copies of a token with the same ID (e.g., all 'Health Potion' tokens with ID=5) will point to the same metadata file. The uniqueness is at the ID level, not at the level of each individual copy.