erc-721

Integrate an ERC-721 NFT contract into a Scaffold-ETH 2 project with deployment scripts and frontend components.

2.0k|1.4k|Updated Sep 19, 2022
One-click install
npx skills add https://github.com/scaffold-eth/scaffold-eth-2 --skill erc-721-scaffold-eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erc-721
Source: https://github.com/scaffold-eth/scaffold-eth-2/tree/main/.agents/skills/erc-721
Command: npx skills add https://github.com/scaffold-eth/scaffold-eth-2 --skill erc-721-scaffold-eth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the integration of ERC-721 NFT contracts into Scaffold-ETH 2 projects, facilitating the creation, deployment, and management of non-fungible tokens.

Core Features & Use Cases

  • ERC-721 Contract Integration: Adds a standard ERC-721 NFT contract using OpenZeppelin implementations.
  • Frontend Support: Includes UI elements for minting, listing, and transferring NFTs.
  • Use Case: A user wants to launch a new NFT collection. This skill will add the necessary smart contract, deployment scripts, and a basic frontend interface to allow users to mint and manage their NFTs within the Scaffold-ETH 2 project.

Quick Start

Add an ERC-721 NFT contract to your Scaffold-ETH 2 project.

Frequently Asked Questions about erc-721

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

FAQPage Schema
How do I add an ERC-721 NFT contract to my Scaffold-ETH 2 project?

This skill integrates an ERC-721 NFT contract into your Scaffold-ETH 2 project, providing OpenZeppelin-based smart contracts, deployment scripts, and frontend components for minting, listing, and transferring NFTs.

Can I use OpenZeppelin extensions like ERC721Enumerable or ERC721Burnable in my NFT contract?

Yes, the ERC-721 NFT contract supports OpenZeppelin extensions including ERC721Enumerable, ERC721URIStorage, and ERC721Burnable, allowing you to customize token tracking, metadata storage, and destruction capabilities.

Does this NFT contract integration include frontend components for minting and listing?

Yes, the integration includes frontend UI elements for minting, listing, and transferring NFTs directly within your Scaffold-ETH 2 application, providing a complete interface for user interaction.

What security considerations are addressed when creating ERC-721 smart contracts?

Creating ERC-721 smart contracts with this skill addresses security considerations like reentrancy attacks and approval exploits, ensuring safer NFT minting and transferring operations.

How do I handle on-chain vs off-chain metadata storage for my NFT collection?

You can handle on-chain vs off-chain metadata storage for your NFT collection by utilizing the skill's support for metadata standards, allowing flexible configuration of how token data is persisted and accessed.

Are gas optimizations included when deploying an ERC-721 contract with Scaffold-ETH?

Yes, gas optimizations are included when deploying an ERC-721 contract with Scaffold-ETH, helping to reduce transaction costs during NFT minting and contract interaction operations.