Skip to content

docs: wallet sign-in works on testnet with DashPay's testnet build - #657

Merged
PastaPastaPasta merged 2 commits into
masterfrom
docs/wallet-status-testnet
Nov 22, 2026
Merged

PastaPastaPasta merged 2 commits into
masterfrom
docs/wallet-status-testnet

Conversation

@PastaPastaPasta

@PastaPastaPasta PastaPastaPasta commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

The user guides still say no released wallet can sign in to Forge (issue #591). Since #655, the app leads with the wallet on testnet, and the guides contradict it. This follows up the independent review of #655.

  • docs/guides/identity-and-keys.md:
    • The wallet row in the sign-in table and the section "Signing in with the Dash Wallet app: what works today" now describe App Connect v2: one approval, a limited key, renewal in the wallet, and no encryption key.
    • The wallet table is current. DashPay Wallet for Android 11.9.2's testnet build was checked end to end on 2026-11-22. iOS 9.1.4 speaks v2, but there's no verified way to get it on testnet. Forge isn't deployed on mainnet yet, and devnets aren't supported.
    • The section mentions the sync quirk: a freshly restored wallet may not answer until it has synced.
    • The older DashConnect code keeps a short subsection with its caveats.
    • The encryption-key paragraph no longer says every wallet sign-in stores the key.
  • docs/guides/README.md and quick-start.md: one sentence each, updated the same way.
  • Two code comments: sign-in-methods.ts (walletLeads) and the header of login-modal.tsx now say the wallet isn't the recommended option on testnet.

docs/qa/2026-11-new-user-pass.md mentions #591 too, but it is a dated QA record, so I left it as written.

Docs and comments only.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated sign-in guides to reflect testnet support with DashPay Wallet for Android version 11.9.2 or later.
    • Clarified that App Connect v2 wallet sign-in grants a key with a user-approved spending limit and expiry, and does not provide an encryption key.
    • Distinguished current wallet sign-in from the optional legacy DashConnect flow and its unlimited keys.
  • User Interface

    • Clarified wallet sign-in availability by network; on other networks, the option is marked “Not available yet.”

The guides still said no released wallet can answer (issue #591). The
wallet section now describes App Connect v2 as checked on testnet with
DashPay Wallet for Android 11.9.2's testnet build, keeps the older code
(DashConnect) as a short subsection, and says a v2 sign-in brings no
encryption key. Two code comments now match the testnet badge rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The guides now describe App Connect v2 wallet sign-in, its limited keys, and the separate legacy DashConnect flow. They also update testnet wallet support guidance and document how network availability affects the wallet sign-in option.

Changes: Wallet sign-in

Layer / File(s) Summary
Current and legacy wallet sign-in
docs/guides/identity-and-keys.md, docs/guides/revoke-keys.md
The guides describe App Connect v2 keys with wallet-approved budgets and expiry, and distinguish them from legacy DashConnect keys. They document approval, renewal, and encryption-key behavior.
Wallet availability guidance
docs/guides/README.md, docs/guides/quick-start.md, forge-web/components/login-modal.tsx, forge-web/lib/auth/sign-in-methods.ts
The guides state that Android DashPay Wallet testnet sign-in requires version 11.9.2 or later. The sign-in comments describe wallet placement by network and note that creating an identity remains recommended for newcomers on testnet.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related issues

Possibly related PRs

Merge Risk: Minimal · up to 6221d

This PR updates guides and comments to describe App Connect v2 wallet sign-in and testnet wallet support. The documented behavior matches the code that was inspected. No merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the docs now say wallet sign-in works on testnet with DashPay's testnet build. The changeset updates user guides and two code comments to match App Connect v2 testnet …
Description check Passed The description follows the template's main parts. It explains what changed and why, with a link to issue #591 and the prior PR #655. It describes the testing done: a manual end-to-end check of DashPa…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the docs now say wallet sign-in works on testnet with DashPay's testnet build. The changeset updates user guides and two code comments to match App Connect v2 testnet behavior, so the title matches the primary change and is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description follows the template's main parts. It explains what changed and why, with a link to issue #591 and the prior PR #655. It describes the testing done: a manual end-to-end check of DashPay Wallet for Android 11.9.2's testnet build on 2026-11-22. It states the change is docs and comments only, which fits the template's guide-update item. It does not include the template's make check commands, which is acceptable for a docs-only change. The screenshots section is absent, but the template marks it as deletable when not visible, and the change has no visible web UI effect beyond comment text.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 909ad217-4499-4289-a3e6-5573ac04e780
Commits

Reviewing files that changed from the base of the PR and between 2728289 and 6221d18.

Files selected for processing: 6

  • docs/guides/README.md
  • docs/guides/identity-and-keys.md
  • docs/guides/quick-start.md
  • docs/guides/revoke-keys.md
  • forge-web/components/login-modal.tsx
  • forge-web/lib/auth/sign-in-methods.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: changes requested

I checked the claims in the diff against the code and wallet sources, and they hold up. Two lines elsewhere in the user-facing guides still say wallet keys have no limits. That now contradicts the rewritten section.

Must fix

  1. docs/guides/identity-and-keys.md:87, in the "where keys live" table, still says the web app holds "a limited key (or a wallet-granted key with no limits, see below)". With App Connect v2 the wallet's key is limited (group-bound, with a budget and an expiry). Only the older code behind Show the older code grants an unlimited key. Suggested wording: "(or the key your wallet granted; through the older code it has no limits, see below)".
  2. docs/guides/revoke-keys.md:21 says "Wallet keys have no budget and may never expire, which makes them the most worth disabling". That is false for a v2 grant: Forge proposes 0.05 DASH and 90 days, and findWalletKey and the verifier refuse a v2 key without both (app-connect-v2.ts:285-294, 'key-limits'). Limit the claim to older-code (DashConnect) and other apps' keys.

Nits (optional)

  • identity-and-keys, "Check the identity yourself": "Forge refuses if two identities answer, and shows the one that did" reads as if Forge shows an identity after refusing. Suggested: "If two identities answer, Forge refuses; otherwise it shows the one that answered: compare…".
  • Stale wallet statements remain outside docs/guides, and none of them is in this PR's scope: docs/roadmap.md:147-149 ("no released wallet has DashConnect, and Forge is not on testnet") and docs/design/wallet-login.md:39 ("not in a released version yet"). wallet-primary.md already marks wallet-login.md as partly out of date. docs/releases/v0.2.0.md:192 is a dated release note, so leaving it is fine. These could go in a follow-up.

Verified

  • defaultLimits: 0.05 DASH / 90 days (limited-key.ts:35), used by the v2 request (app-connect-v2.ts:85-96). No encryption key is requested, and a grant carrying one is refused (:9, :285). The poll expires after 10 minutes (:117, :314). Two answering identities raise AmbiguousWalletLogin (:304). Renewal: the wallet disables the previous key for the connection id (:11-13, RENEW_MODE=false). "Renew in your wallet" is real copy (keys-panel.tsx, low-funds-banner.tsx, top-up-sheet.tsx).
  • signInMethods: on testnet the wallet leads, but walletRecommended is false there, so Create stays recommended. That matches the new walletLeads doc comment and the login-modal.tsx header.
  • "Show the older code" exists (wallet-connect-flow.tsx:576/795/811), and the older code is testnet-only.
  • gh release view v11.9.2 -R dashpay/dash-wallet lists dashpay-wallet-11.9.2-testnet.apk, and /releases/latest currently resolves to v11.9.2. At v11.9.2 (654f1540e), DashConnectUri.kt throws LEGACY_KEY_REQUEST_ERROR for v1. The wallet has editable funding-limit and expiry screens (strings_app_connect.xml), which backs "you can change both". The "connection records can't be read" copy matches dash_connect_records_unavailable_message.
  • iOS: v9.1.4's PlatformDashConnectDataSource.parseQR still parses dash-key: v1 (parseKeyRequest). On develop that branch is gone and only v2 and dash-st: remain. The v9.1.4 release has no assets, so "no verified way to put a store build on testnet" is honest and matches wallet-primary.md §"Getting a wallet that works on testnet".
  • Every anchor and relative link in the diff resolves: #signing-in-with-the-dash-wallet-app-what-works-today, #replacing-it-after-a-lost-device, #a-browser-key-from-dg, wallet-primary.md, wallet-login.md, revoke-keys.md, docs/upstream/app-connect-responder-auth.md.

🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: approve

Re-checked 6221d18 against origin/master and the code.

Previous must-fixes: resolved

  • identity-and-keys.md keys table now says a wallet-granted key carries "the budget and expiry you approved there", with no-limits only for the older code. This matches app-connect-v2.ts: grantOf throws WalletGrantRefused('key-limits') when isUnlimited(key) (no limits, no total budget, or no expiry; key-registration.ts:198) or the key is unbound, so a v2 key without budget and expiry is refused.
  • revoke-keys.md now separates the two: current wallet keys have the approved budget and expiry, while older-code or other-app keys may have none. The v1 path still accepts unlimited keys and warns about them (wallet-connect-flow.tsx:884-890, "Replace with a limited key" in keys-panel.tsx), so "the older code's keys have no limits" is accurate.
  • Nit on the two-identities sentence: it now reads cleanly ("Forge refuses if two identities answer. When one does, Forge shows which"). This matches AmbiguousWalletLogin when responders.size > 1.

Other claims I checked in the diff

  • Defaults of 0.05 DASH and 90 days: BROWSER_KEY_DEFAULTS via defaultLimits, used in the v2 request.
  • 10-minute request expiry: APP_CONNECT_MAX_REQUEST_AGE_MS = 10 * 60_000.
  • No encryption key with v2: grantOf refuses a grant that carries encryptionKeys.
  • Renewing disables the old key: the v2 header comment, plus "Renew in your wallet" in keys-panel.tsx and low-funds-banner.tsx.
  • "Show the older code" exists in wallet-connect-flow.tsx.
  • On testnet the wallet leads but create stays recommended: walletRecommended = leads && network !== 'testnet' in sign-in-methods.ts. The login-modal.tsx and sign-in-methods.ts comment edits match this.

Nit (non-blocking)

  • identity-and-keys.md, the last line of the wallet section ("Drafts of the wallet-side fixes (group-scoped, limited grants; …)") reads slightly stale now that App Connect v2 ships group-bound, limited grants. Only the responder-proof half is still upstream work. This can go into the same follow-up as roadmap.md and wallet-login.md:39.

I can't verify the wallet-version claims (Android 11.9.2 refusing v1, the iOS 9.1.4 behaviour) from this repo. They are consistent with the rest of the PR.


🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

@PastaPastaPasta
PastaPastaPasta merged commit caf6a98 into master Nov 22, 2026
20 checks passed
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.

1 participant