Skip to content

Add App Development module for dApp SDK and Wallet Gateway (#579)#629

Draft
8bitpal wants to merge 6 commits into
mainfrom
add-app-development-module-579
Draft

Add App Development module for dApp SDK and Wallet Gateway (#579)#629
8bitpal wants to merge 6 commits into
mainfrom
add-app-development-module-579

Conversation

@8bitpal
Copy link
Copy Markdown
Collaborator

@8bitpal 8bitpal commented May 26, 2026

Closes #579.

Summary

Adds the App Development curriculum module requested in issue #579 and refreshes the integrations mirror against the latest splice-wallet-kernel main (c85656f).

New curriculum module pages

Under App Development > Module 4: Full-Stack Application Development:

  • appdev/modules/m4-dapp-sdk.mdx — Introduces the dApp SDK in an app-development context: where it fits in the architecture, the high-level vs Provider API split, window.canton discovery, and the typical init / connect / listAccounts / prepareExecute flow with code samples.
  • appdev/modules/m4-wallet-gateway.mdx — Introduces the Wallet Gateway: why a mediator exists, what it provides (dApp API + User API + UI), the discovery and connection flow, when to run your own, signing-provider options, and the operational realities a dApp developer should know about even if they never operate one.

Refreshed mirrors

Audited every existing integrations/dapp-sdk and integrations/wallet-gateway page against upstream origin/main. Two pages had content drift and have been refreshed:

  • integrations/wallet-gateway/apis.mdx → hash c581db48
  • integrations/wallet-gateway/signing-providers.mdx → hash 0e02eba4

The other 9 mirrored pages (dapp-sdk/{download,usage,best-practices,wallet-provider-integration,adapters-and-discovery}, wallet-gateway/{configuration,usage,troubleshooting,download}, and dapp-building-overview) are content-identical to upstream — only the @82ec39c9 label in the COPIED marker is stale.

Newly ported upstream pages

Six pages that exist upstream but weren't yet in our docs:

  • integrations/dapp-sdk/overview.mdx — dApp SDK landing/overview
  • integrations/dapp-sdk/api-reference.mdx — Full method reference
  • integrations/wallet-gateway/overview.mdx — Wallet Gateway landing
  • integrations/wallet-gateway/configuration-schema.mdx — Full JSON schema for the wallet-gateway-remote config file
  • integrations/wallet-gateway/deployment.mdx — Production deployment guide
  • integrations/dapp-building-examples.mdx — Ping and Portfolio sample dApps

Navigation

All 8 new slugs added to docs.json in their appropriate groups:

  • Two new curriculum pages slotted into the existing Module 4 group.
  • New overview / api-reference pages added to the dApp SDK group; new overview / configuration-schema / deployment pages added to the Wallet Gateway group; new dapp-building-examples added to Integrations > Overview.

JSON validated, every nav slug has a backing .mdx, every /integrations/... and /appdev/... link in the changed files resolves against the nav slug set.

8bitpal added 2 commits May 26, 2026 17:39
Implements the curriculum module requested in issue #579 and refreshes
the integrations mirror against the latest splice-wallet-kernel main
(c85656f).

New curriculum module pages (appdev/modules/, Module 4 group):

- m4-dapp-sdk.mdx — Introduces the dApp SDK in an app-development
  context: where it fits, the high-level vs Provider API split,
  window.canton discovery, the typical init/connect/listAccounts/
  prepareExecute flow.
- m4-wallet-gateway.mdx — Introduces the Wallet Gateway: why a mediator
  exists, what it provides (dApp API + User API + UI), the discovery
  and connection flow, when a team needs to run one, signing provider
  options, and operational realities relevant to dApp developers.

Refreshed mirrors from upstream c85656f:

- integrations/wallet-gateway/apis.mdx (hash c581db48)
- integrations/wallet-gateway/signing-providers.mdx (hash 0e02eba4)

Newly ported upstream pages (not previously in our docs):

- integrations/dapp-sdk/overview.mdx — dApp SDK landing/overview
- integrations/dapp-sdk/api-reference.mdx — Method reference
- integrations/wallet-gateway/overview.mdx — Wallet Gateway landing
- integrations/wallet-gateway/configuration-schema.mdx — Full JSON
  schema for the wallet-gateway-remote config file
- integrations/wallet-gateway/deployment.mdx — Production deployment
  guide
- integrations/dapp-building-examples.mdx — Ping and Portfolio sample
  dApps

Navigation:

- Added the two new curriculum pages to Module 4: Full-Stack Application
  Development.
- Added the six new integration pages to their respective groups
  (Overview, dApp SDK, Wallet Gateway) under Integrations.

Notes:

- The 9 previously mirrored integration pages (download/usage/
  best-practices/wallet-provider-integration/adapters-and-discovery
  for dApp SDK; configuration/usage/troubleshooting/download for
  Wallet Gateway, plus dapp-building-overview) are already in sync
  with upstream c85656f — no refresh needed.
- Relative `.md` links in the ported pages (e.g. `(configuration/index.md)`)
  were rewritten to absolute Mintlify slugs.
- The upstream `> [!IMPORTANT]` GitHub-flavored callout in
  wallet-gateway/index.md was converted to a `<Warning>` block.
Editorial pass on the two new curriculum pages to match the project's
writing style:

- Removed em dashes throughout. Most became commas, colons, or
  sentence breaks; a few "X — Y" bullet pairs became "X: Y" or got
  rewritten as proper prose.
- Replaced the "Term — definition" bullet pattern in "What it
  provides" (m4-wallet-gateway) and the "Signing providers" section
  with prose paragraphs that embed the terms inline. Bullets stay
  where they're genuinely list-shaped (arrow flows, next-steps).
- Dropped the "This page covers..." meta intros from both files.
  The lead paragraph already names the topic; the second paragraph
  now goes straight to the "see also" pointer.
- Replaced the "From the dApp's perspective" / "From the validator's
  perspective" parallel construction with "To the dApp" / "To the
  validator".
- Removed minor marketing flourishes (e.g., "rather than being tied
  to a single vendor" → just describing the interoperability concretely).
- Frontmatter description punctuation tightened (no em dashes).

Content unchanged. The numbered "Typical flow" steps still have the
same code samples and the same five-step structure.
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 26, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cantonfoundation 🟢 Ready View Preview May 26, 2026, 3:57 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Replaces the two box-drawing ASCII diagrams in the curriculum modules
with mermaid flowcharts.

m4-dapp-sdk: four-node LR flowchart (dApp <-> Wallet Gateway, Gateway
<-> Canton Validator, Gateway <-> Signing Provider) with the dApp API
(CIP-103) transport labels preserved.

m4-wallet-gateway: same four-node skeleton plus a User node and a
subgraph that shows the Gateway's internal pieces (dApp API, User API,
User UI). The User node connects to User UI (browser) and User API
(programmatic) separately, which is clearer than the ASCII version's
single 'User interactions' arrow.

Mermaid renders consistently with other diagrams in the project
(m1-mental-models, ledger-model, pqs/operate).
The High-Level Architecture diagram in dapp-building-overview.mdx is
inside a COPIED block (mirrors splice-wallet-kernel:docs/dapp-building/
overview/index.md). Converting the ASCII box-drawing to mermaid means
deliberate divergence from upstream verbatim.

Added a LOCAL_MODIFICATION comment after the COPIED_END marker
explaining the deviation. The surrounding prose stays in sync with
upstream; only the diagram block was changed.

Mermaid form mirrors the m4-wallet-gateway diagram: dApp <-> Wallet
Gateway (subgraph containing dApp API, User API, User UI), User
connecting to UI (browser) and User API (programmatic) separately,
plus Gateway <-> Validator and Gateway <-> Signing Provider on the
backend. The dApp transport label keeps the upstream wording
('HTTP / WebSocket') rather than the m4 module's 'HTTP / postMessage'
to preserve upstream's framing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add an "App Development" module for the dApp SDK and Wallet Gateway

1 participant