Skip to content
35 changes: 32 additions & 3 deletions docs/getting-started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,42 @@ npx create-mn-app [project-name]
Ensure you replace `[project-name]` with the name of your new DApp.
:::

The CLI tool prompts you to select a template. Available options include:
The CLI tool first prompts you to choose the type of project you want to create:

- Contract
- Full DApp

If you are new to Midnight development, starting with **Contract** is recommended. It provides a minimal setup that focuses on compiling and deploying a Compact smart contract before working with a full application scaffold.

#### Contract

Selecting **Contract** scaffolds a minimal project for deploying a Compact smart contract.

You are prompted to choose a contract template. Currently the available option is:

- Hello world
- Counter

The Hello world contract is a basic example that demonstrates how to deploy a Compact contract and interact with it from the CLI.

#### Full DApp

Selecting **Full DApp** scaffolds a complete decentralized application with contract logic, deployment scripts, and a CLI for interacting with the contract.

You are prompted to choose a DApp template. Available options include:

- Counter
- Bulletin board

Select the Hello world template and follow the prompts to complete the setup. You should see the following output:
The Counter template is an example that demonstrates how to maintain and update shared contract state by incrementing or decrementing a counter.

The Bulletin board template is a privacy-preserving message board that allows users to post and remove messages using zero-knowledge (ZK) proofs.

For this guide, select **Contract** at the first prompt and then choose **Hello world** at the template selection prompt. Follow the remaining prompts to complete the setup.

If you select **Full DApp**, refer to the dedicated tutorials for each template:

- [Counter DApp](../examples/dapps/counter)
- [Bulletin board DApp](../examples/dapps/bboard)

```
Creating a new Midnight app in /path/to/my-app.
Expand Down
Loading