본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5305

nft-standards

하는 일

이 도구는 NFT(대체 불가능 토큰)를 이해하고 만드는 데 도움을 줍니다. NFT는 물건을 위한 고유한 디지털 인증서와 같습니다. 가장 널리 쓰이는 표준(ERC-721, ERC-1155)과 NFT를 설명하는 방법에 초점을 맞춥니다.

사용하는 경우

  • ✓예술이나 게임을 위한 NFT 컬렉션을 만들 때.
  • ✓NFT에 고유한 세부 정보를 추가할 때.
  • ✓NFT가 기술적으로 어떻게 작동하는지 이해하고 싶은 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/nft-standards/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/nft-standards/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“ERC-721 표준을 사용해 NFT를 만들려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

ERC-721과 ERC-1155 표준에 관한 코드 예제와 설명을 사용합니다. NFT 계약서가 어떻게 작성되는지, 또는 NFT의 세부 정보(메타데이터)가 어떻게 구성되는지 보여 달라고 요청할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/erc721.md
  • <support-root>/references/erc1155.md
  • <support-root>/references/metadata-standards.md
  • <support-root>/references/enumeration.md
  • <support-root>/assets/erc721-contract.sol
  • <support-root>/assets/erc1155-contract.sol
  • <support-root>/assets/metadata-schema.json
  • <support-root>/assets/metadata-uploader.py

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

NFT Standards

Master ERC-721 and ERC-1155 NFT standards, metadata best practices, and advanced NFT features.

Do not use this skill when

  • The task is unrelated to nft standards
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Use this skill when

  • Creating NFT collections (art, gaming, collectibles)
  • Implementing marketplace functionality
  • Building on-chain or off-chain metadata
  • Creating soulbound tokens (non-transferable)
  • Implementing royalties and revenue sharing
  • Developing dynamic/evolving NFTs

ERC-721 (Non-Fungible Token Standard)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract MyNFT is ERC721URIStorage, ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MINT_PRICE = 0.08 ether;
    uint256 public constant MAX_PER_MINT = 20;

    constructor() ERC721("MyNFT", "MNFT") {}

    function mint(uint256 quantity) external payable {
        require(quantity > 0 && quantity <= MAX_PER_MINT, "Invalid quantity");
        require(_tokenIds.current() + quantity <= MAX_SUPPLY, "Exceeds max supply");
        require(msg.value >= MINT_PRICE * quantity, "Insufficient payment");

        for (uint256 i = 0; i < quantity; i++) {
            _tokenIds.increment();
            uint256 newTokenId = _tokenIds.current();
            _safeMint(msg.sender, newTokenId);
            _setTokenURI(newTokenId, generateTokenURI(newTokenId));
        }
    }

    function generateTokenURI(uint256 tokenId) internal pure returns (string memory) {
        // Return IPFS URI or on-chain metadata
        return string(abi.encodePacked("ipfs://QmHash/", Strings.toString(tokenId), ".json"));
    }

    // Required overrides
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId,
        uint256 batchSize
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId, batchSize);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return super.tokenURI(tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
}

ERC-1155 (Multi-Token Standard)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";

…
자주 묻는 질문

ERC-721과 ERC-1155는 무엇인가요?

서로 다른 유형의 NFT를 만드는 규칙(표준)입니다. ERC-721은 고유한 NFT용이고, ERC-1155는 같거나 다를 수 있는 여러 항목용입니다.

NFT 메타데이터란 무엇인가요?

NFT의 이름, 설명, 이미지, 기타 속성처럼 NFT를 설명하는 정보입니다. 온라인(오프체인)이나 블록체인 위(온체인)에 저장될 수 있습니다.

이 도구로 NFT를 만들 수 있나요?

이 도구는 여러분이나 개발자가 NFT를 만들 수 있도록 지식과 코드 예제를 제공합니다. NFT를 직접 만들어 주지는 않습니다.

상세 정보

작성자의 원본 설명

Master ERC-721 and ERC-1155 NFT standards, metadata best practices, and advanced NFT features.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5305
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬