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
Once operations begin, `CloneRepo` calls `beginInstall` (see [abstractions → installGuard](./abstractions.md#interrupt-safety-installguard)) and `FileCleanup` calls `completeInstall` on success, so a Ctrl+C mid-scaffold removes the partial directory while a finished project is left intact.
85
85
86
-
Components are presentation-only — they call operations via `useEffect` and render status. Components receive `MultiSelectItem[]` for feature selection (TUI concern), then derive the kept-feature `FeatureName[]` via `resolveModeFeatures(stack, mode, selected)` before calling operations — so `full`/`default` resolve correctly even though the multiselect is skipped. The `OptionalPackages` multiselect pre-checks `default: true` features and enforces feature dependencies live via `applyFeatureToggle`. `PostInstall` renders stack-specific instructions; the EVM branch shows the subgraph warning when applicable, the Canton branch always shows the `canton:up`/`app:dev` commands and — when the `carpincho` feature is in the resolved set — the Carpincho extension build/load instructions.
86
+
Components are presentation-only — they call operations via `useEffect` and render status. Components receive `MultiSelectItem[]` for feature selection (TUI concern), then derive the kept-feature `FeatureName[]` via `resolveModeFeatures(stack, mode, selected)` before calling operations — so `full`/`default` resolve correctly even though the multiselect is skipped. The `OptionalPackages` multiselect pre-checks `default: true` features and enforces feature dependencies live via `applyFeatureToggle`. `PostInstall` renders stack-specific instructions; the EVM branch shows the subgraph warning when applicable, the Canton branch leads with the one-command `./scripts/dev-stack.sh up` bring-up and keeps the manual `canton:up`/`app:dev` commands as a fallback — adding the Carpincho extension build/load instructions (handled by `dev-stack.sh up`, with `carpincho:build:extension` as the manual fallback) when the `carpincho` feature is in the resolved set.
Copy file name to clipboardExpand all lines: readme.md
+18-9Lines changed: 18 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ agents.
7
7
8
8
-**EVM** — the original [dAppBooster](https://dappbooster.dev/) for Ethereum, Polygon, Base, and
9
9
other EVM chains.
10
-
-**Canton** — [dAppBooster for Canton](https://dappbooster-canton-landing.vercel.app/): Daml
10
+
-**Canton** — [dAppBooster for Canton](https://www.dappbooster.cc/): Daml
11
11
ledger, Carpincho wallet, off-chain services.
12
12
13
13
## Choose your stack
@@ -150,10 +150,19 @@ the "Removing a feature" guide in the generated `dapp/frontend/README.md` — th
150
150
deletes demo source itself.
151
151
152
152
The Canton scaffold uses **npm** (a property of the generated project, not this installer). After
153
-
install: review `canton-barebones/.env`, run `npm run canton:up` to start the local Canton stack,
154
-
and `npm run app:dev` to run the dapp frontend. When `carpincho` is included, build the extension
155
-
with `npm run carpincho:build:extension` and load `carpincho-wallet/dist-extension` as an unpacked
156
-
browser extension.
153
+
install, review `canton-barebones/.env`, then bring the whole local stack up with a single command:
154
+
`./scripts/dev-stack.sh up` (Docker must be running). It starts the Canton + Postgres +
155
+
wallet-service containers, runs the health checks, builds and deploys the quickstart-counter DAR,
156
+
launches the dapp frontend (`:3012`), and — when `carpincho` is included — builds the Carpincho
157
+
extension and copies it to `~/Desktop/dist-extension` (load it via `chrome://extensions`, Developer
158
+
mode → Load unpacked). Run `./scripts/dev-stack.sh` with no arguments for an interactive arrow-key
159
+
menu; `mock-up` brings up a Docker-free mocked wallet-service + Carpincho web app, and `down` tears
160
+
everything back down.
161
+
162
+
Prefer to run the pieces by hand? The underlying npm scripts still work: `npm run canton:up` to
163
+
start the local Canton stack and `npm run app:dev` for the dapp frontend, and when `carpincho` is
164
+
included build the extension with `npm run carpincho:build:extension` and load
165
+
`carpincho-wallet/dist-extension` as an unpacked browser extension.
157
166
158
167
**What gets stripped:**
159
168
@@ -176,10 +185,10 @@ browser extension.
176
185
"path": "/absolute/path/to/my_canton_dapp",
177
186
"postInstall": [
178
187
"Review canton-barebones/.env (created from the example)",
179
-
"Run npm run canton:up to start the local Canton stack",
180
-
"Run npm run app:dev to start the dapp frontend",
181
-
"Build the Carpincho extension with npm run carpincho:build:extension",
182
-
"Load carpincho-wallet/dist-extension as an unpacked browser extension"
188
+
"Run ./scripts/dev-stack.sh up to bring up the whole local stack in one command — Docker must be running (run ./scripts/dev-stack.sh with no arguments for an interactive menu)",
189
+
"Fallback — start each piece manually: npm run canton:up for the Canton stack, then npm run app:dev for the dapp frontend",
190
+
"./scripts/dev-stack.sh up also builds the Carpincho extension and copies it to ~/Desktop/dist-extension (load it via chrome://extensions, Developer mode -> Load unpacked)",
191
+
"Fallback — build it manually with npm run carpincho:build:extension, then load carpincho-wallet/dist-extension as an unpacked browser extension"
'Review canton-barebones/.env (created from the example)',
114
-
'Run npm run canton:up to start the local Canton stack',
115
-
'Run npm run app:dev to start the dapp frontend',
114
+
'Run ./scripts/dev-stack.sh up to bring up the whole local stack in one command — Docker must be running (run ./scripts/dev-stack.sh with no arguments for an interactive menu)',
115
+
'Fallback — start each piece manually: npm run canton:up for the Canton stack, then npm run app:dev for the dapp frontend',
'Build the Carpincho extension with npm run carpincho:build:extension',
149
-
'Load carpincho-wallet/dist-extension as an unpacked browser extension',
148
+
'./scripts/dev-stack.sh up also builds the Carpincho extension and copies it to ~/Desktop/dist-extension (load it via chrome://extensions, Developer mode -> Load unpacked)',
149
+
'Fallback — build it manually with npm run carpincho:build:extension, then load carpincho-wallet/dist-extension as an unpacked browser extension',
0 commit comments