dojo-token

Implement, deploy, and index ERC20 and ERC721 tokens in Dojo on Starknet.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Await-0x/stark-tycoon --skill dojo-token-await-0x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dojo-token
Source: https://github.com/Await-0x/stark-tycoon/tree/main/.agents/skills/dojo-token
Command: npx skills add https://github.com/Await-0x/stark-tycoon --skill dojo-token-await-0x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the process of implementing, deploying, and indexing custom ERC20 and ERC721 tokens within the Dojo engine for Starknet.

Core Features & Use Cases

  • Token Implementation: Write Cairo code for ERC20 fungible tokens and ERC721 NFTs.
  • Deployment: Deploy these tokens as external contracts alongside your Dojo world using sozo migrate.
  • Indexing: Configure Torii to index token balances, transfers, and metadata for easy querying.
  • Use Case: "Create an ERC20 token for in-game currency and an ERC721 NFT for unique items, then deploy and index them for use in my Starknet game."

Quick Start

Implement an ERC20-like currency token in Cairo using Dojo models.

Frequently Asked Questions about dojo-token

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

FAQPage Schema
How do I implement and deploy ERC20 tokens in a Dojo game on Starknet?

You can deploy ERC20 and ERC721 tokens in Dojo by adding them as external contracts and running `sozo migrate`. Configure Torii to index token balances, transfers, and metadata for querying within your Starknet game.

Can I use Origami library to create ERC721 NFTs with the Dojo engine?

Yes, you can implement ERC721 NFTs in the Dojo engine using the Origami library for integration or by writing custom Cairo implementations to define unique in-game items.

How does Torii indexing work for Dojo token balances and transfers?

Torii indexing for Dojo tokens involves configuring the indexer to track ERC20 and ERC721 contract events, enabling developers to query token balances, transfers, and metadata efficiently.

What is the best way to add custom token contracts to my Dojo world?

The best way to add custom token contracts to a Dojo world is to write the ERC20 or ERC721 logic in Cairo and deploy it as an external contract via `sozo migrate` alongside your Dojo world.

Do I need custom Cairo implementations for fungible tokens in Dojo?

No, you do not strictly need custom Cairo implementations for fungible tokens in Dojo. The skill supports integrating the Origami library for ERC20 tokens, though custom Cairo implementations are also supported.