dojoengine/book/dojo-deploy
Claude Code and agent skill by dojoengine/book
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Deploy Dojo worlds to local Katana, testnet, or mainnet. Configure Katana sequencer and manage deployments with sozo. Use when deploying your game or starting local development environment.
Install
npx vskill@latest install dojoengine/book/dojo-deploySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Dojo Deployment
Deploy your Dojo world to local Katana sequencer, Sepolia testnet, or Starknet mainnet.
When to Use This Skill
- "Deploy my world to Katana"
- "Start Katana sequencer"
- "Deploy to Sepolia testnet"
- "Deploy to mainnet"
What This Skill Does
Handles deployment workflows:
- Start and configure Katana sequencer
- Deploy worlds with
sozo migrate - Verify deployments
- Manage world addresses
- Configure network settings
Quick Start
Local development:
Testnet deployment:
Mainnet deployment:
Deployment Workflow
1. Local Development (Katana)
Start Katana:
This launches Katana with:
- RPC server at
http://localhost:5050 - 10 pre-funded accounts
- Instant block mining
- Gas fees disabled
Build and deploy:
Verify:
2. Testnet Deployment (Sepolia)
Configure profile:
Deploy:
3. Mainnet Deployment
Configure profile:
Deploy:
Katana Configuration
See the Katana configuration guide for all available TOML options.
TOML Configuration
Most Dojo projects use a katana.toml config file rather than CLI flags. Recommended starter config:
Start with config file:
Cartridge Controller on Katana
When using Cartridge Controller locally, Katana must deploy Controller contracts at genesis. Without this, Controller transactions fail with "Requested contract address ... is not deployed".
Note: paymaster = true implicitly enables controllers = true. See the Controller setup docs for client-side configuration.
Quick Start (CLI flags)
Mining Modes
Instant (default):
Mines block immediately on transaction.
Interval:
Mines block every 10 seconds.
Persistent Storage
Network Forking
Fork Starknet mainnet:
Fork at specific block:
Sozo Commands
Build
Inspect (Preview Deployment)
Migrate (Deploy)
Execute System
Deployment Checklist
Pre-Deployment
- [ ] All tests passing (
sozo test) - [ ] Code reviewed (
dojo-reviewskill) - [ ] Configuration set (
dojo-configskill) - [ ] Target network funded (for gas)
- [ ] Private key secured (not committed)
Deployment
- [ ] Build succeeds (
sozo build) - [ ] Inspect looks correct (
sozo inspect) - [ ] Migration succeeds (
sozo migrate) - [ ] Manifest generated (check
manifest_<profile>.json) - [ ] World address recorded
Post-Deployment
- [ ] Deployment verified (execute systems, query models)
- [ ] Torii indexer configured (
dojo-indexerskill) - [ ] Client connected (
dojo-clientskill) - [ ] World permissions verified (
dojo-worldskill)
Development Workflow
Terminal 1: Start Katana
Terminal 2: Build and deploy
Terminal 3: Start Torii
Sample Deploy Script
This skill includes deploy_local.sh, a template script for automated local development. Copy it into your project's scripts/ directory and customize it for your needs.
Setup:
- Copy the script to your project:
cp deploy_local.sh your-project/scripts/ - Adjust configuration variables (profile name, URLs) as needed
- Make executable:
chmod +x scripts/deploy_local.sh
Run:
What it does:
- Checks for required tools (katana, sozo, torii, jq)
- Starts Katana with health checking
- Builds and deploys contracts
- Extracts addresses from the manifest
- Starts Torii indexer
- Cleans up all services on exit (Ctrl+C)
Customization points:
PROFILE: Default build/deploy profileRPC_URL: Katana endpoint (default:http://localhost:5050)TORII_URL: Torii endpoint (default:http://localhost:8080)- Add project-specific post-deploy steps (e.g., seeding data, running migrations)
Slot Deployment (Remote)
Slot provides hosted Katana and Torii instances.
Authentication
Katana on Slot
Optimistic mode (simplest):
With configuration file:
See the Katana configuration guide for TOML options.
Torii on Slot
Create a torii.toml with your world address and RPC endpoint, then deploy:
See the dojo-indexer skill for full Torii configuration details.
Useful Commands
Manifest File
After deployment, manifest_<profile>.json contains:
- World address
- Model addresses and class hashes
- System/contract addresses
- ABI information
Example:
Troubleshooting
"Account not found"
- Ensure account is deployed on target network
- Check account address in profile config
- Verify account has funds for gas
"Class hash mismatch"
- Run
sozo buildbefore migrating - Check Scarb.toml for correct Dojo version
- Clear
target/and rebuild
"Insufficient funds"
- Fund account with ETH/STRK for gas
- Use Sepolia faucet: https://faucet.starknet.io
"Profile not found"
- Ensure
dojo_<profile>.tomlexists - Check spelling matches the
--profileflag
Network Information
Katana (Local)
- RPC:
http://localhost:5050 - Pre-funded accounts printed on startup
Sepolia (Testnet)
- RPC:
https://api.cartridge.gg/x/starknet/sepolia - Faucet: https://faucet.starknet.io
- Explorer: https://sepolia.voyager.online
Mainnet
- RPC:
https://api.cartridge.gg/x/starknet/mainnet - Explorer: https://voyager.online
Next Steps
After deployment:
- Use
dojo-indexerskill to set up Torii - Use
dojo-clientskill to connect frontend - Use
dojo-worldskill to configure permissions - Use
dojo-migrateskill for updates
Related Skills
- dojo-config: Configure deployment profiles
- dojo-migrate: Update deployments
- dojo-indexer: Index deployed world
- dojo-client: Connect clients to deployment
- dojo-world: Manage world permissions
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationPassed, 84 of 100Effective. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/dojo-deploy/SKILL.md
Popularity
- Repository stars
- 53
- Repository forks
- 94
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.
Extension points
hookPre/post lifecycle hooksconfigConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dojoengine/book/dojo-deploy)