erc1155-patterns
CommunityMaster ERC-1155 multi-token patterns.
Software Engineering#patterns#solidity#erc1155#smart-contracts#batch-operations#multitoken#uri-storage
Authorccashwell
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides reusable ERC-1155 patterns to simplify building multi-token contracts, enabling consistent handling of fungible and non-fungible token types, batch transfers, and per-token URIs.
Core Features & Use Cases
- Batch operations: Efficient transfers across multiple token types in a single transaction.
- Hybrid patterns: Distinguish fungible and non-fungible tokens within one contract using ID ranges and supply tracking.
- URI handling: Per-token URIs storage via ERC1155URIStorage for metadata management.
- OpenZeppelin integration: Leverages proven contracts for security and interoperability.
- Use cases: Games with items and currencies, marketplaces handling multiple asset types, and bundles of mixed token types.
Quick Start
Create a new ERC-1155 contract following the patterns shown and mint a mix of fungible and non-fungible tokens to validate batch operations and URI storage.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: erc1155-patterns Download link: https://github.com/ccashwell/evm-cortex/archive/main.zip#erc1155-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.