nft-standards
使用 ERC-721 和 ERC-1155 實作 NFT 標準
NFT 建構者需要關於標準、元資料和鑄造的明確指導。本技能提供 ERC-721、ERC-1155 和市場就緒性的實用模式。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "nft-standards". Help me design an ERC-1155 game item set with three item types and supply limits.
Résultat attendu:
- Use fixed token IDs per item type to enable batch minting.
- Set max supply per ID and enforce it in mint functions.
- Host metadata at ipfs://.../{id}.json with clear attributes for rarity and power.
Utilisation de "nft-standards". What is the difference between ERC-721 and ERC-1155 for a gamingNFT project?
Résultat attendu:
- ERC-721 treats each token as unique, ideal for one-of-one collectibles.
- ERC-1155 supports multiple quantities of the same item type, efficient for gaming.
- ERC-1155 reduces gas costs for batch transfers of multiple item types.
Utilisation de "nft-standards". How do I implement royalties that marketplaces will respect?
Résultat attendu:
- Implement EIP-2981 royalty interface for marketplace compliance.
- Set royalty fee between 2.5% and 10% for standard marketplace support.
- Use OpenZeppelin ERC2981RoyaltyUI for frontend royalty display.
Audit de sécurité
SûrThis skill contains only markdown documentation (SKILL.md) and JSON configuration files (skill-report.json). No executable code, scripts, network calls, filesystem access beyond its own files, or environment variable reads are present. All 50 static findings are false positives triggered by example Solidity code blocks in documentation. The flagged patterns (C2 keywords, weak crypto, dynamic require, shell backticks) are standard blockchain terminology and documentation formatting, not security threats. Users are not exposed to any data theft, code execution, or privacy risks.
Facteurs de risque
🌐 Accès réseau (1)
📁 Accès au système de fichiers (1)
⚡ Contient des scripts (12)
Score de qualité
Ce que vous pouvez construire
選擇代幣標準
比較 ERC-721 和 ERC-1155 來為新收藏集做出選擇,並選擇正確的模型。
設計元資料結構
定義可在主要 NFT 市場和錢包中正確顯示的欄位。
規劃多代幣物品
為遊戲資產設定 ERC-1155 物品 ID、供應量和鑄造規則。
Essayez ces prompts
為 5,000 件作品的藝術投放推薦 ERC-721 或 ERC-1155 並解釋取捨。
列出 NFT JSON 所需的和可選的元資料欄位,並註明圖片和屬性的最佳實踐。
說明如何實作 EIP-2981 版稅並建議安全的費用上限。
概述一種基於鏈上狀態變更來更新元資料的動態 NFT 方法。
Bonnes pratiques
- 使用 OpenZeppelin 基礎合約以符合標準
- 保持元資料一致並釘選在 IPFS 上
- 記錄鑄造限制和版稅設定
Éviter
- 在沒有明確需求的情況下混合使用 ERC-721 和 ERC-1155
- 在沒有揭露政策的情況下變更元資料
- 在沒有成本考量的情況下將大型資產完全儲存在鏈上