dojo-indexer

Configure and manage the Torii indexer for Starknet worlds.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of setting up and interacting with the Torii indexer, enabling efficient querying and real-time updates of your Starknet world's state.

Core Features & Use Cases

  • Indexer Setup: Start and configure Torii for local or production environments.
  • Data Querying: Access indexed data via GraphQL for complex filtering and retrieval.
  • Real-time Updates: Subscribe to live changes in your world's state using gRPC subscriptions.
  • SQL Access: Directly query the underlying SQLite database for advanced analytics.
  • Use Case: "I need to get all player positions from my game and set up a subscription to notify me whenever a player's position changes."

Quick Start

Start the Torii indexer for your deployed world at the provided address.

Frequently Asked Questions about dojo-indexer

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

FAQPage Schema
How do I index a deployed Starknet world using Torii?

You index a deployed Starknet world by starting the Torii indexer with the world's address. This enables client-side data retrieval and real-time state monitoring via GraphQL queries and gRPC subscriptions.

Can I subscribe to real-time state changes in my Starknet game?

Yes, you can subscribe to real-time state changes in your Starknet game using gRPC subscriptions. This allows you to monitor live updates, such as whenever a player's position changes, directly from the indexed world.

What is the best way to query indexed Starknet world data?

The best way to query indexed Starknet world data is via GraphQL for complex filtering and retrieval. You can also directly query the underlying SQLite database for advanced analytics.

Does the Torii indexer support configuration for production environments?

Yes, the Torii indexer supports configuration for both development and production environments. You can specify options including RPC endpoints, database directories, and CORS origins to suit your deployment needs.

How do I set up Torii to enable both GraphQL queries and SQL access?

You set up Torii by starting the indexer for your deployed world, which simultaneously facilitates GraphQL queries and direct SQL database access. This dual approach allows complex data retrieval alongside advanced SQLite analytics.