CtrlK
BlogDocsLog inGet started
Tessl Logo

dojo-token

Implement, deploy, and index ERC20 and ERC721 tokens in Dojo. Use when adding token contracts, deploying them, or configuring Torii to index balances and transfers.

87

2.35x
Quality

82%

Does it follow best practices?

Impact

99%

2.35x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Evaluation results

98%

59%

Dungeon Runner: In-Game Gold Currency

ERC20 token model and deployment config

Criteria
Without context
With context

Model uses #[dojo::model]

100%

100%

Player key field

100%

100%

Amount field type u256

100%

100%

Contract uses #[dojo::contract]

100%

100%

Transfer event defined

0%

100%

Event keys are from and to

0%

100%

Event emitted

0%

100%

build-external-contracts in Scarb.toml

0%

100%

[[external_contracts]] block

0%

100%

constructor_data format

0%

77%

instance_name and salt present

0%

100%

Deploy command documented

80%

100%

100%

52%

Dungeon Runner: Legendary Sword NFT

ERC721 NFT model and unique token ID generation

Criteria
Without context
With context

Model uses #[dojo::model]

100%

100%

token_id key field

100%

100%

owner field present

100%

100%

Contract uses #[dojo::contract]

100%

100%

world.uuid() for token ID

0%

100%

world.read_model / write_model

25%

100%

Ownership check on transfer

100%

100%

Transfer event defined

25%

100%

Event from/to are #[key]

0%

100%

Event emitted on transfer/mint

50%

100%

External contract config

0%

100%

build-external-contracts entry

0%

100%

100%

61%

Dungeon Runner: Token Dashboard Setup

Torii token indexing configuration and querying

Criteria
Without context
With context

ERC20 prefix format

0%

100%

ERC721 prefix format

0%

100%

Contracts under [indexing]

0%

100%

tokens table referenced

100%

100%

balances table referenced

0%

100%

erc_transfers table referenced

100%

100%

useTokens hook used

100%

100%

accountAddresses parameter

0%

100%

toDecimal for display

0%

100%

Restart note for Torii

100%

100%

Transfer events note

44%

100%

Repository
dojoengine/book
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.