Implements ERC20 fungible tokens and ERC721 non-fungible tokens in Dojo games using the Origami library.
The dojo-token skill provides specialized guidance and implementation patterns for adding blockchain-based token standards to games built on the Dojo engine. By leveraging the Origami library, it enables developers to efficiently integrate fungible currencies, resource management systems, and unique NFT-based assets like characters or equipment. This skill assists in writing robust Cairo code for minting, burning, and transferring assets while ensuring best practices for security, ownership validation, and event-driven state updates within the Starknet ecosystem.
Características Principales
01ERC20 fungible token implementation for in-game currencies and resources
02Automated patterns for minting, burning, and complex transfer mechanics
03Seamless integration with Origami library components for safe asset management
04ERC721 non-fungible token support for unique items and characters
05Standardized event structures for tracking on-chain token operations
061 GitHub stars
Casos de Uso
01Managing resource gathering mechanics involving wood, stone, or iron assets
02Developing in-game economies with gold, gems, or experience point currencies
03Creating unique NFT-based inventory systems for weapons, armor, and land