Skip to content

Add hands-on tutorial: CIP-30 wallet connect and first preview transaction (Mesh) #265

Open

Description

@danbaruka

Problem

The Tutorials section currently has essentially one real hands-on guide (local-cardano-payment-detector). Newcomers who want a browser + wallet dApp path still hit a thin tutorials area (#115). The old Tools stub page was removed (#191), so we also need a clear “start building a dApp” entry that points at widely used tooling such as Mesh.

Proposed solution

Add a second tutorial that walks through:

  1. Connect a CIP-30 browser wallet
  2. Build a simple payment transaction with Mesh (or equivalent maintained TS SDK)
  3. Sign and submit on preview testnet
  4. Confirm on an explorer
  5. Short troubleshooting (network mismatch, missing collateral, API keys)

Include links to Mesh docs, faucet, and DevEx Getting Started.

Acceptance criteria

  • New tutorial page under website/docs/tutorials/
  • Listed in Tutorials navigation / Getting Started
  • Uses preview testnet (no mainnet funds required)
  • Clear prerequisites and copy-pasteable steps
  • npm run build succeeds

Related

Activity

  1. added
    documentation
    enhancement
    good first issue
    on Aug 4, 2026
  2. github-actions commented on Sep 11, 2026

    @github-actions

    Is this issue abandoned? It had no activity for 30 days. It has been marked stale and will be closed in 14 days if no further activity occurs. Add an update to keep it open. See TRIAGE.md for our triage cadence.

  3. added
    stale
    on Sep 11, 2026
  4. sadSanta-07 commented on Oct 17, 2026

    @sadSanta-07
    Contributor

    Hi @danbaruka! I noticed this issue was marked stale and is about to be closed. I'd love to take this on and write up this tutorial for the docs!

    I can get started on putting together the Mesh CIP-30 wallet connection and preview testnet transaction guide this week. Could you assign this to me so the stale bot doesn't close it?

  5. added
    pinned
    and removed
    stale
    on Nov 22, 2026
  6. added a commit that references this issue on Nov 22, 2026
    47b82e9
  7. IanoNjuguna commented on Nov 22, 2026

    @IanoNjuguna
    Contributor

    @sadSanta-07 assigned

  8. added a commit that references this issue on Nov 22, 2026
    997325a
  9. IanoNjuguna commented on Nov 22, 2026

    @IanoNjuguna
    Contributor

    Co-authored-by is on the commit now (Sahil Singh, [email protected])

    Is it comprehensive?

    It is complete for the path it takes, and it is a single happy path. What it has: the connect flow, the network guard, reading address/UTxOs/balance, building and signing a payment, submitting, confirming, a full single-component version, and seven troubleshooting entries for the failures a first-timer actually hits.

    What it does not have, roughly in order of how much a reader would gain:

    1. Nobody has run it end to end. The code is written against Mesh's current docs, not executed: that needs a wallet extension, preview tADA and a Blockfrost key. This is the single most valuable thing to add, and it needs a human with a wallet. Every snippet would be confirmed by one run.
    2. Screenshots or a short screen recording. The wallet popup, the "wrong network" state, the confirmation. A first-timer's hardest moment is deciding whether the popup looks right, and prose cannot answer that.
    3. A framework-free path. The page scaffolds with the Mesh CLI, which gives Next.js. A reader on Vite or plain HTML currently has to translate. Ten lines of vanilla TypeScript would cover it.
    4. Token payments, not just ADA. unit is policy ID plus asset name in hex, and that sentence alone is not enough; a worked example sending one native asset is the natural next step and the reason many people are here.
    5. Showing the fee before the user signs. The page mentions it as a mainnet caveat rather than teaching it. wallet.getBalanceMesh() and the builder's fee estimate both support it.
    6. A single error-handling pattern for the whole flow. Right now the snippets are optimistic: no try/catch, no disabled button while pending, no user-facing message on rejection. That is the difference between a demo and something someone ships.
    7. A wallet id table for enable(): eternl, lace, nami, flint, gerowallet, typhoncip30. Small, and it saves a console round trip.
    8. Collateral, worked. getCollateralMesh() appears in prose once. If the reader's next step is a Plutus call, a two-line example belongs here rather than in a second tutorial.
    9. The explorer URL shape. The page says to paste the hash into the search box because the /tx/<hash> pattern is not documented anywhere I could confirm. Someone who checks it can replace that with a real link.
    10. Mobile. Browser wallets are extensions; on a phone the path is WalletConnect or CIP-45, which is a different tutorial rather than a section.

    The PR body carries the same list under "Where this could go further".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Medium Prioritydocumentationenhancementgood first issuepinned

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions