ERC-721

ERC-721은 Ethereum 블록체인에서 대체 불가능한 토큰(NFT)을 나타내기 위한 표준으로, 고유한 디지털 자산이 생성, 관리 및 거래되는 방식을 정의합니다.

ERC-721은 NFT를 위한 청사진을 제공하는 Ethereum 생태계 내에서 중요한 표준입니다. 각 고유한 식별자를 가지고 블록체인에 저장되는 고유한 디지털 자산의 생성을 허용합니다. 이 표준은 NFT 계약이 구현해야 하는 transferFrom, balanceOfownerOf와 같은 기능과 이벤트를 지정하여 다양한 NFT 프로젝트와 마켓플레이스 간의 상호 운용성을 가능하게 합니다.

상호 교환 가능한 ERC-20 토큰과 달리 ERC-721 토큰은 대체 불가능합니다. 즉, 각 토큰은 고유하며 고유한 특정 가치 또는 속성을 갖습니다. 이러한 고유성은 NFT를 디지털 아트, 수집품, 가상 부동산 및 게임 내 아이템과 같은 항목을 나타내는 데 적합하게 만듭니다. ERC-721 표준은 이러한 자산이 Ethereum 블록체인에서 검증 가능한 방식으로 소유되고 전송될 수 있도록 보장합니다.

        graph LR
  Center["ERC-721"]:::main
  Pre_erc_20["erc-20"]:::pre --> Center
  click Pre_erc_20 "/terms/erc-20"
  Pre_smart_contract["smart-contract"]:::pre --> Center
  click Pre_smart_contract "/terms/smart-contract"
  Center --> Child_nft["nft"]:::child
  click Child_nft "/terms/nft"
  Center --> Child_metadata["metadata"]:::child
  click Child_metadata "/terms/metadata"
  Center --> Child_soulbound_token["soulbound-token"]:::child
  click Child_soulbound_token "/terms/soulbound-token"
  Rel_erc_1155["erc-1155"]:::related -.-> Center
  click Rel_erc_1155 "/terms/erc-1155"
  Rel_ipfs["ipfs"]:::related -.-> Center
  click Rel_ipfs "/terms/ipfs"
  Rel_erc_20["erc-20"]:::related -.-> Center
  click Rel_erc_20 "/terms/erc-20"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 지식 테스트

1 / 3

🧒 5살도 이해할 수 있게 설명

Imagine ERC-721 as a digital certificate of ownership for unique items, like a one-of-a-kind [trading](/ko/terms/trading) card or a specific piece of digital art. Each card or artwork has its own special number, and the [blockchain](/ko/terms/blockchain) keeps track of who owns which specific item.

🤓 Expert Deep Dive

ERC-721 (EIP-207) establishes a standard for non-fungible tokens, enabling the representation of unique digital assets on Ethereum. Its core innovation lies in the tokenId mechanism, which allows for granular tracking and ownership of individual assets within a single smart contract. The ownerOf function provides direct retrieval of an asset's proprietor, while transferFrom and the more secure safeTransferFrom facilitate provenance tracking. The safeTransferFrom function incorporates checks to ensure the receiving address is capable of handling ERC-721 tokens, typically by verifying adherence to the ERC-721 or ERC-1155 standards via onERC721Received callbacks. This prevents tokens from being sent to incompatible contracts, thereby avoiding 'black holes'. The approve and isApprovedForAll functions enable delegated management, crucial for marketplaces and secondary sale mechanisms. Architectural trade-offs include increased gas costs per token compared to ERC-20 due to the need to store and manage individual tokenId ownership mappings. Furthermore, the immutability of tokenId assignments means that once a token is minted, its identifier cannot be changed, necessitating careful planning during contract deployment.

🔗 관련 용어

선행 지식:
더 알아보기:

📚 출처