🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@dojoengine/create-dojo

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dojoengine/create-dojo

Interactive CLI tool for creating Dojo.js applications

1.5.17
latest
npm
Version published
Weekly downloads
221
-20.5%
Maintainers
1
Weekly downloads
 
Created
Source

@dojoengine/create-dojo

Interactive CLI tool for creating Dojo.js applications with various frameworks and configurations.

Usage

Run the following command to create a new Dojo.js application:

npx @dojoengine/create-dojo@latest

Features

Interactive Setup

The CLI guides you through a series of questions to configure your project:

  • AkatsukiLabs Starter - Option to use the recommended game development starter
  • App Type - Choose between Client App (Frontend) or Worker App (Backend)
  • Contracts - Integrate with existing Dojo contracts or create new ones
  • Framework Selection - Multiple framework options for client apps:
    • React + Vite
    • Vue + Vite
    • Vanilla JS + Vite
    • SvelteKit
  • Additional Features - Optional features like:
    • State management (Zustand, Pinia)
    • UI libraries (Tailwind CSS, Shadcn/ui, Vuetify)
    • Testing frameworks
    • PWA support
    • Linting and formatting tools

Command Line Options

You can also provide options directly to skip certain prompts:

npx @dojoengine/create-dojo@latest --use-akatsuki
npx @dojoengine/create-dojo@latest --type client --framework react-vite
npx @dojoengine/create-dojo@latest --contracts-path ../my-contracts

Available options:

  • -y, --yes - Skip prompts and use defaults
  • --use-akatsuki - Use AkatsukiLabs Starter
  • --type <type> - App type: client or worker
  • --contracts-path <path> - Path to existing contracts
  • --framework <framework> - Framework to use

Automatic Setup

The CLI automatically:

  • Installs the latest Dojo dependencies
  • Creates a proper project structure
  • Generates dojoConfig.ts based on your contracts
  • Sets up TypeScript configuration
  • Initializes git repository
  • Installs all dependencies

Core Dependencies

All projects include:

  • @dojoengine/core
  • @dojoengine/sdk
  • @dojoengine/torii-wasm
  • @dojoengine/predeployed-connector

Development

To work on this package:

pnpm install
pnpm build

License

MIT

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts