Skip to main content

ERC-721 and NFT: A New Paradigm of Digital Ownership

In the previous section, we delved into the world of interchangeable "money" with ERC-20 tokens. Now, let's step into a realm rich with individuality and uniqueness, examining the groundbreaking standard that truly brings "ownership" to the internet: ERC-721 and NFTs.


3.3 ERC-721 and NFT: A New Paradigm of Digital Ownership​

ERC-721 transforms "unique assets" into on-chain objects, and NFTs leverage this to carry irreplaceable values like art, tickets, and game items, making verifiable, tradable, and composable digital ownership a reality on the internet for the first time.

Think back to the early days of the internet when you could endlessly copy an image, a song, or a piece of text, but true "ownership" was out of reach. You could save it, but proving you were the sole owner or trading it freely without platform permission was impossible. NFTs (Non-Fungible Tokens) have completely turned this on its head.


Basic Concepts of NFT​

At the heart of Non-Fungible Tokens (NFTs) is "non-fungibility"—each token is one-of-a-kind. If ERC-20 tokens are like a stack of identical bills (your $1 and my $1 are interchangeable), then NFTs are akin to the original "Mona Lisa" in the Louvre, of which there is only one.

The ERC-721 standard outlines the core attributes for these unique assets:

  • ownerOf(tokenId): This crucial function lets anyone find out which Ethereum address uniquely owns a specific ID NFT (e.g., CryptoPunk #7804).
  • tokenURI(tokenId): This function provides a link to a JSON file containing the NFT's metadata. This file describes what this unique asset "is," often including its name, description, attributes, and links to its visual files (like images, audio, 3D models).
  • safeTransferFrom(): A secure transfer function that ensures the recipient (especially contract addresses) can handle the NFT correctly; otherwise, the transaction automatically rolls back to prevent accidental asset locking (Reference: eips.ethereum.org).

Core Comparison with ERC-20

  • Fungible vs. Non-Fungible: ERC-20 accounts record a balance integer (I have 100 WETH); ERC-721 accounts record a list of IDs (I own NFTs with IDs #123, #456, #789).
  • Divisibility: ERC-20 tokens can be divided infinitely (e.g., 0.001 ETH); a standard ERC-721 NFT is an indivisible atomic unit. To achieve fractional ownership, one would need to rely on the ERC-1155 standard or additional "fractionalization" protocols.

Explosion Brought by a Unified Standard​

Much like ERC-20, the standardization power of ERC-721 is key to its ecosystem's explosive growth.

  • Wallet/Market "One Integration, Universal Across Chains": NFT marketplaces like OpenSea or Blur need to develop just once according to the ERC-721 standard interface to automatically recognize, display, and trade all new NFT series that follow this standard in the future.
  • Network Effect: This seamless integration convenience creates a powerful positive flywheel: more creators are willing to issue NFTs → attracting more collectors → forming greater market liquidity → further incentivizing creators to mint.
  • Data Evidence: Despite market cycles, the NFT economy remains vibrant. As of June 2025, global daily on-chain NFT sales remain stable at about $20 million, driven by blue-chip collectibles and gaming assets, showcasing its enduring vitality (Data Source: cryptoslam.io).

Advanced Extensions: Beyond Basic Ownership​

Building on ERC-721, the community has developed a series of powerful extension standards, unlocking more application scenarios:

  • ERC-721A (Batch Minting Optimization): Initiated by the Azuki team, this allows users to mint multiple NFTs in one transaction, with Gas costs nearly the same as minting one. This greatly reduces the cost for users to participate in popular project releases and has become the de facto standard for PFP (profile picture) projects (Reference: alchemy.com, dev.to).
  • ERC-4907 (Rentable NFT): By adding a temporary user role and expiration time in the contract, this standard allows NFTs to be safely rented or lent. Ownership (owner) remains unchanged, but usage rights (user) can be transferred within a specified time. This has been rapidly adopted in scenarios such as game prop rentals, event tickets, and memberships (Reference: nes-tech.medium.com).
  • ERC-2981 (On-Chain Royalty Standard): Provides a standard royalty declaration interface for NFTs. This allows secondary markets like OpenSea to automatically and trustlessly pay the agreed-upon share to the original creator upon each resale, completely changing the business model for digital artists.

Typical Application Scenarios​

NFT applications have long surpassed "small pictures," permeating all aspects of the digital economy:

  • Digital Art & Collectibles: CryptoPunks and BAYC have defined digital identity and community culture, leading the PFP avatar economy.
  • Gaming Assets: In-game props, characters, and lands are minted as NFTs, allowing players to truly own their game assets for the first time and freely trade them outside the game.
  • Tickets & Memberships: Concert tickets, event passes, and DAO membership cards are issued as NFTs, enabling verification of authenticity, preventing scalping, and forming an active, market-priced secondary circulation.
  • Real-World Asset Tokenization (RWA): Property ownership certificates, luxury goods provenance certificates, partial ownership of music copyrights, etc., can be tokenized as NFTs to enhance their liquidity and transparency.
  • Domain Names & Identity: ENS (Ethereum Name Service) domain names (e.g., vitalik.eth) and Lens Protocol personal profiles (e.g., stani.lens) are NFTs, binding human-readable names to complex blockchain addresses, forming the identity layer of Web3.

Technical and Risk Considerations​

  • On-Chain vs. Off-Chain Storage: The core of NFTs is the on-chain record of ownership. However, their media files (images, videos) are too large to store directly on-chain due to high costs. Therefore, most projects choose to store media files on decentralized storage networks like IPFS or Arweave. For extremely valuable artworks, some projects choose to write key features (such as pixel hashes) on-chain for greater permanence.
  • Copyright Compliance: Owning an NFT does not equal owning the copyright of the underlying work. Specific commercial usage rights, reproduction rights, etc., need to be clarified by the project party in the license agreement (such as the CC0 agreement) or additional contracts.
  • "Wash Trading" & Valuation: Be wary of inflating trading volume and prices through self-dealing. When evaluating the true value of an NFT series, the number of independent holders, the Gini coefficient of holder distribution, and other quantitative indicators are usually more informative than simple floor prices or top-selling rankings.
  • Private Key Security: The value of blue-chip NFTs can easily reach hundreds of thousands or even millions of dollars. For high-value NFT holders, using hardware wallets for storage and managing with multi-signature vaults (such as Gnosis Safe) is a necessary measure to ensure asset security.

Reader Exercises​

  1. Open Remix, use the ERC721PresetMinterPauserAutoId template contract provided by OpenZeppelin:
  • Enter the name and symbol of the NFT you want to create during deployment and deploy it to the testnet.
  • Call the mint function to mint two NFTs for yourself.
  • Use the safeTransferFrom function to transfer one of them to a friend's address and observe the Transfer event log in the transaction details on Etherscan.
  1. Choose an NFT series you are familiar with, and check its floor price on both OpenSea and Blur, two mainstream markets. Consider the possible price differences, liquidity depth, and royalty policies (Blur has sparked huge controversy due to its optional royalty policy) between the two platforms and how they jointly affect pricing and trading behavior.

Further Reading​

  • EIP-721 Original Text: Read the original definition, design motivation, and function description of the NFT standard.
  • Alchemy Blog "ERC-721A vs. ERC-721": View an in-depth technical test on the principles and effects of batch minting gas savings.
  • Medium "Renting NFTs with ERC-4907": Learn about the specific implementation methods and rich application cases of rentable NFTs.
  • CryptoSlam NFT Global Index: Obtain daily, multi-chain NFT sales, user numbers, blue-chip index, and other macro market data.
  • OpenZeppelin Contracts Documentation: Learn how to safely implement combinations of ERC-721, ERC-2981, and AccessControl permission management modules.

In the next section (3.4), we will explore a more efficient and flexible asset standard, focusing on "ERC-1155 and Asset Unification: Semi-Fungibility and Multi-Resource Packaging."