Skip to main content

Setting up a project

If you run pnpm create dubhe now, you will be shown some options to facilitate project creation: We are working on Sui Move Contract development tutorial, so select the Sui and Contract tabs.

Sample Dubhe project

A simple project creation wizard will ask you some questions. After that, the wizard will create some directories and files and install the necessary dependencies. The initialized project has the following structure:
These are the default paths for a Dubhe project.
  • contracts/: This directory contains the contracts of the project.
  • dubhe.config.ts: This file contains the configuration of dubhe.

Setting up your editor