dojo-token

Implement and deploy ERC20 and ERC721 tokens in Cairo with Torii indexing.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/steebchen/proof-of-war --skill dojo-token-steebchen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dojo-token
Source: https://github.com/steebchen/proof-of-war/tree/main/.agents/skills/dojo-token
Command: npx skills add https://github.com/steebchen/proof-of-war --skill dojo-token-steebchen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dojo ecosystems need standardized token contracts and seamless integration with Torii for balances, transfers, and token metadata indexing.

Core Features & Use Cases

  • Implement ERC20 fungible tokens and ERC721 NFTs in Cairo
  • Deploy token contracts as external contracts alongside your Dojo world
  • Configure Torii to index token balances, transfers, and metadata
  • Query token data via SQL and client SDKs

Quick Start

Initialize a token kit for your Dojo world by integrating ERC20 and ERC721 tokens and enabling Torii indexing.

Frequently Asked Questions about dojo-token

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

FAQPage Schema
How do I deploy ERC20 and ERC721 tokens in Cairo for a Dojo world?

To deploy ERC20 and ERC721 tokens in Cairo for a Dojo world, you implement the token contracts and run sozo migrate to deploy them as external contracts. This process requires integrating the Origami library for standardized token implementation alongside your world.

Can I configure Torii to index token balances and transfers for my Dojo world?

Yes, you can configure Torii to index token balances, transfers, and metadata for your Dojo world. Once configured, Torii automatically indexes the external token contracts deployed via sozo migrate, making the data available for SQL and client SDK queries.

What is the best way to query Dojo token balances and metadata after deployment?

The best way to query Dojo token balances and metadata is by using SQL or client SDKs. After you configure Torii indexing for your deployed ERC20 and ERC721 contracts, the client SDK can directly retrieve token data across the Dojo world.

Does deploying tokens with Origami require external contracts in Dojo?

Yes, deploying Origami-integrated tokens requires external-contract deployment via sozo migrate. Token contracts are deployed as external contracts alongside your Dojo world rather than being embedded directly within the world's internal systems.

Why do I need the Origami library for Dojo token contracts?

You need the Origami library for Dojo token contracts to provide standardized implementations of ERC20 and ERC721 tokens in Cairo. Origami integration ensures your fungible tokens and NFTs follow correct standards before Torii indexes their balances and transfers.