Skip to main content

Quick Start with Dubhe Engine

Get up and running with Dubhe Engine to build your first fully on-chain Move application.

Prerequisites

Before you begin, ensure you have the following installed:

Installation

Install the Dubhe CLI globally using npm:
npm install -g @0xobelisk/dubhe-cli
Verify the installation:
dubhe --version

Create Your First Project

  1. Initialize a new Dubhe project:
dubhe create my-first-game
cd my-first-game
  1. Install dependencies:
npm install
  1. Start the local development environment:
dubhe dev
This will:
  • Start a local Sui network
  • Deploy your contracts
  • Start the development server

Project Structure

Your new Dubhe project includes:
my-first-game/
├── contracts/          # Move smart contracts
├── client/             # Frontend application
├── schemas/            # ECS component definitions
├── systems/            # Game logic systems
└── dubhe.config.js     # Dubhe configuration

Next Steps

Contract Development

Learn to build Move contracts with Dubhe

ECS Architecture

Understand the Entity Component System

CLI Reference

Explore all CLI commands and options

DubheOS

Learn about the blockchain operating system

Common Commands

Here are the most frequently used Dubhe CLI commands:
CommandDescription
dubhe create <name>Create a new Dubhe project
dubhe devStart development environment
dubhe buildBuild your Move contracts
dubhe testRun contract tests
dubhe deployDeploy to mainnet/testnet

Getting Help

If you run into issues: