Issue: Missing Dojo-Specific Deployment Configuration
Description:
The project lacks proper Dojo deployment configuration. While it has basic dojo_dev.toml and dojo_release.toml files, several Dojo-specific deployment elements are missing or incomplete.
Problems Identified:
- Incomplete World Configuration: The
dojo_release.toml has the world address commented out, which is essential for Dojo deployment
- Missing Torii Configuration: No proper Torii indexer configuration for the release environment
- Incomplete Contract Registration: The manifest shows only basic mercenary contract, but the codebase has extensive systems that need proper Dojo registration
- Missing Dojo Commands: No proper
sozo build and sozo migrate configuration for production
- No Katana/Torii Setup: Missing configuration for running Katana (local node) and Torii (indexer) in production
Dojo-Specific Issues:
- World Address: Essential for Dojo - this is the main contract that manages all game state
- Torii Indexer: Required for querying game state and events
- Sozo Migration: The
sozo migrate apply command needs proper configuration
- Model Registration: All the game models (Player, Gear, Session, etc.) need to be properly registered in the Dojo world
Impact:
- High Priority: Without proper Dojo configuration, the game cannot be deployed or queried properly
- Prevents proper game state management
- Makes it impossible to use Dojo's ECS architecture effectively
- Could lead to deployment failures or broken game functionality
Recommended Solutions:
-
Complete Dojo World Configuration:
# dojo_release.toml
[world]
name = "Citizen of Arcanis"
description = "A Dojo-based RPG game"
[env]
rpc_url = "https://starknet-sepolia.public.blastapi.io/rpc/v0_7"
world_address = "0x..." # Uncomment and set proper address
-
Add Torii Configuration:
[torii]
world = "0x..." # World address
rpc_url = "https://starknet-sepolia.public.blastapi.io/rpc/v0_7"
-
Proper Dojo Deployment Scripts:
# Build
sozo build
# Migrate to testnet
sozo migrate apply --rpc-url https://starknet-sepolia.public.blastapi.io/rpc/v0_7
# Start Torii indexer
torii --world 0x... --rpc-url https://starknet-sepolia.public.blastapi.io/rpc/v0_7
Files Affected:
dojo_release.toml - Needs world address and proper configuration
manifest_release.json - Needs all system contracts registered
- Missing: Torii configuration, proper deployment scripts
Issue: Missing Dojo-Specific Deployment Configuration
Description:
The project lacks proper Dojo deployment configuration. While it has basic
dojo_dev.tomlanddojo_release.tomlfiles, several Dojo-specific deployment elements are missing or incomplete.Problems Identified:
dojo_release.tomlhas the world address commented out, which is essential for Dojo deploymentsozo buildandsozo migrateconfiguration for productionDojo-Specific Issues:
sozo migrate applycommand needs proper configurationImpact:
Recommended Solutions:
Complete Dojo World Configuration:
Add Torii Configuration:
Proper Dojo Deployment Scripts:
Files Affected:
dojo_release.toml- Needs world address and proper configurationmanifest_release.json- Needs all system contracts registered