EIPs Explained

ERC-6596 · Review(검토 중) · ERC · 2023-02-28

ERC-6596: Cultural and Historical Asset Token

문화·역사 자산을 나타내는 NFT를 위한 풍부한 메타데이터 JSON 스키마. 출처(provenance), 제작자, 재료, 크기 같은 박물관식 필드를 더해 컬렉션을 검색하고 서로 연결할 수 있게 한다.

어떤 문제를 해결하나요?

표준 ERC-721과 ERC-1155 메타데이터에는 이름, 설명, 이미지뿐입니다. 게임 아이템이나 멤버십에는 충분하지만, 미술품·유물·기록 자료에는 너무 빈약합니다. 이런 자산의 가치는 맥락에 달려 있기 때문입니다. 누가, 언제, 무엇으로 만들었는지, 이후 누가 소유했는지, 어디에서 전시되었는지가 중요합니다. 이런 정보가 필요한 발행자는 각자 필드를 만들어 쓰므로, 서로 다른 박물관의 토큰을 함께 검색하거나 연결할 수 없습니다.

ERC-6596은 Cultural and Historical Asset Tokens(CHAT) 를 정의합니다. 예술 분야의 기존 목록 작성 관행에서 영감을 얻은 공통 메타데이터 구조로, 기관은 위변조 여부를 확인할 수 있는 기록을 온체인에 공개하고 도구는 컬렉션을 가로질러 관련 항목을 찾을 수 있습니다.

어떻게 동작하나요?

메타데이터 전용 확장이며 새로운 컨트랙트 함수는 없습니다. CHAT의 token URI는 일반적인 name, description, image와 함께 두 개의 배열을 반환합니다.

  • attributes(표시용): 고정된 어휘를 사용하는 { trait_type, value } 항목의 목록. 명세는 다음 그룹을 나열합니다.
    • 목록: Catalogue Level, Asset Type, Classification, Subject Matter, Keyword, Edition, Series Name
    • 제작: Creator Name, Creator Bio, Publication / Creation Date(ISO 8601), Materials and Technology, Asset Creation Geo / Location / Coordinates
    • 물리적 특성: Dimensions Unit 및 height / width / depth, Inscriptions / Marks, Is Physical Asset
    • 소유와 권리: Current Owner, Provenance, Acquisition Date, Credit Line, Copyright Holder, Copyright / Restrictions
    • 참고: Citation, Bibliography, Relevant Date / Geo / Location / Person / Entity, Asset Language(ISO 639)
    • 토큰: Issuer, Issuer Description, Issue Timestamp, Asset File Size, Asset File Format
  • attributesExt(표시용이 아님): Asset Full Text, Exhibition / Loan History, Copyright Document, Provenance Document, Asset URL처럼 길거나 문서 형태인 필드.

필드에 값이 여러 개일 때(예: 여러 키워드) 속성을 반복할 수 있습니다. 최상위 필드는 모두 선택 사항입니다. 데이터를 익숙한 attributes 형식에 담기 때문에, trait를 표시하는 기존 마켓플레이스는 변경 없이 CHAT 데이터를 보여 줍니다.

샘플 코드

간추린 CHAT 메타데이터 문서(값은 설명용):

{
  "name": "Ink Landscape, Hanging Scroll",
  "description": "Landscape painting in ink on silk depicting a mountain retreat.",
  "image": "ipfs://<cid>/cover.jpg",
  "attributes": [
    { "trait_type": "Asset Type", "value": "Painting" },
    { "trait_type": "Creator Name", "value": "Unknown, attributed to a regional workshop" },
    { "trait_type": "Publication / Creation Date", "value": "1650" },
    { "trait_type": "Materials and Technology", "value": "Ink on silk" },
    { "trait_type": "Dimensions Unit", "value": "cm" },
    { "trait_type": "Dimensions (height)", "value": 120 },
    { "trait_type": "Dimensions (width)", "value": 45 },
    { "trait_type": "Keyword", "value": "landscape" },
    { "trait_type": "Keyword", "value": "mountains" },
    { "trait_type": "Is Physical Asset", "value": true }
  ],
  "attributesExt": [
    { "trait_type": "Provenance Document", "value": "ipfs://<cid>/provenance.pdf" }
  ]
}

알아둘 점

  • 상태는 Review입니다. 필드 이름과 구조는 아직 바뀔 수 있습니다.
  • 메타데이터 파일은 발행자가 제공하는 데이터입니다. URI 필드를 가져오는 백엔드는 서버 측 요청 위조(SSRF)에 대비하고, 프런트엔드는 XSS를 막기 위해 내용을 이스케이프하며, 파서는 리소스 사용량에 상한을 두어야 합니다.
  • 이 스키마는 주장을 기록할 뿐 검증하지는 않습니다. 출처와 진위는 여전히 발행 기관에 달려 있습니다.
  • 비슷한 취지의 다른 NFT 메타데이터 확장으로는 ERC-4955(벤더별 메타데이터)와 ERC-7007(AI 생성 콘텐츠)이 있습니다.

#nft #metadata #culture #museums #provenance

상세 정보

저자
Phillip Pon <[email protected]>, Gary Liu <[email protected]>, Henry Chan <[email protected]>, Joey Liu <[email protected]>, Lauren Ho <[email protected]>, Jeff Leung <[email protected]>, Brian Liang <[email protected]>, Joyce Li <[email protected]>, Avir Mahtani <[email protected]>, Antoine Cote (@acote88), David Leung (@dhl)
상태
Review(검토 중)
유형
Standards Track / ERC
작성일
2023-02-28
의존하는 제안

기계 판독용 데이터: Markdown · JSON