dojo.js
Build onchain games with entity sync, wallets, and transactions
All Skills in This Repository (10)
Pure Emerald Level Indicatorsdojo-setup
Configure the Dojo.js SDK with world address and Torii URL.
dojo-transactions
Execute on-chain game actions and manage dojo.js transaction lifecycles.
update-grpc-proto
Update Dojo gRPC proto definitions from the Torii repository and regenerate TypeScript bindings.
dojo-state
Manage Dojo.js game state with a typed Zustand store.
dojo-entities
Query, fetch, and subscribe to dojo.js game entities with ToriiQueryBuilder.
dojo-events
Subscribe to real-time game events and token balances in dojo.js.
dojo-debug
Diagnose Torii connection and entity synchronization issues in dojo.js applications.
dojo-react
Integrate React with Dojo.js using provider wiring and the useDojoSDK hook.
dojo-wallets
Provision burner wallets and connectors for Dojo.js games.
dojo-integration-test
Automate end-to-end integration testing for Dojo Cairo contracts with local Katana and Torii.
Frequently Asked Questions
FAQPage SchemaHow to install dojo.js?โผ
Run `npx skills add dojoengine/dojo.js --all -g -y` in your terminal to install all skills in this suite globally.
What is dojo.js used for?โผ
It is the JavaScript SDK for the Dojo engine, letting you query entities, send transactions, and subscribe to events in onchain games on Starknet.
How do I query game entities with dojo.js?โผ
Use the ToriiQueryBuilder from @dojoengine/sdk to build filtered, paginated queries, then fetch once or subscribe for real-time updates.
Does dojo.js work with React?โผ
Yes. It ships React hooks like useModel and useDojoSDK, plus a DojoSdkProvider for wiring the SDK into your component tree.
Can I test Dojo contracts locally?โผ
Yes. The integration test skill spins up Katana, migrates your contracts, and starts a Torii indexer so you can execute and verify transactions locally.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core