erc721-patterns

Standardize ERC-721 NFT contract development with OpenZeppelin and EIP-2981.

120|12|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ccashwell/evm-cortex --skill erc721-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erc721-patterns
Source: https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns
Command: npx skills add https://github.com/ccashwell/evm-cortex --skill erc721-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers building NFT contracts often rewrite boilerplate for ERC-721 compliance, metadata integration, and safety patterns, leading to bugs and inconsistent implementations.

Core Features & Use Cases

  • Standard Interface: IERC721 baseline with core functions.
  • Metadata and Enumerable: support for token URIs, name, symbol, and totalSupply enumeration.
  • Royalties and Lazy Minting: EIP-2981 integration and lazy minting patterns for efficient drops.
  • Soulbound and Safe Minting: patterns to enforce non-transferability and ensure safe transfers.
  • Use Case: Launch a compliant NFT collection quickly using battle-tested templates.

Quick Start

Create a new NFT contract using the ERC-721 patterns provided to start minting tokens with standard interfaces and royalties.

Frequently Asked Questions about erc721-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement ERC-721 NFT contracts without rewriting boilerplate?

ERC-721 NFT contracts can be standardized using reusable templates that provide baseline interfaces, metadata integration, and safety patterns to reduce boilerplate and prevent implementation errors. These patterns integrate directly with OpenZeppelin contracts.

How do I add EIP-2981 royalties to a Solidity NFT collection?

EIP-2981 royalties can be added to a Solidity NFT collection by applying standard royalty patterns that integrate with the ERC-721 interface, ensuring compliant royalty distribution for secondary market sales.

What is the best way to implement safe minting for ERC-721 tokens?

Safe minting for ERC-721 tokens is best implemented using established safety patterns that ensure secure transfers and prevent tokens from being locked in non-compliant contracts. These patterns are included in standard NFT development templates.

Can I implement lazy minting and soulbound tokens using OpenZeppelin contracts?

Yes, lazy minting patterns for efficient drops and soulbound patterns enforcing non-transferability can be implemented using OpenZeppelin contracts. These patterns standardize the ERC-721 interface for specific NFT use cases.

Does this NFT pattern support token URI metadata and totalSupply enumeration?

Yes, the NFT pattern supports token URI metadata, name, symbol, and totalSupply enumeration. This ensures full ERC-721Enumerable compliance for contracts requiring on-chain metadata and token counting.