You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/quickstart.mdx
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ The CLI tool first prompts you to choose the type of project you want to create:
40
40
- Contract
41
41
- Full DApp
42
42
43
+
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.
44
+
43
45
#### Contract
44
46
45
47
Selecting **Contract** scaffolds a minimal project for deploying a Compact smart contract.
@@ -56,10 +58,19 @@ Selecting **Full DApp** scaffolds a complete decentralized application with cont
56
58
57
59
You are prompted to choose a DApp template. Available options include:
58
60
59
-
- Counter
61
+
- Counter
60
62
- Bulletin board
61
63
62
-
For this guide, select **Contract → Hello world** and follow the prompts to complete the setup. You should see the following output:
64
+
The Counter template is a simple example that demonstrates how to maintain and update shared contract state by incrementing or decrementing a counter.
65
+
66
+
The Bulletin board template is a privacy-preserving message board that allows users to post and remove messages using Zero Knowledge proofs.
67
+
68
+
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.
69
+
70
+
If you select **Full DApp**, refer to the dedicated tutorials for each template:
0 commit comments