Skip to content

fix(web): show wallet sign-in as dashpay://connect - #703

Merged
PastaPastaPasta merged 1 commit into
masterfrom
t3/update-wallet-qr-format
Nov 24, 2026
Merged

PastaPastaPasta merged 1 commit into
masterfrom
t3/update-wallet-qr-format

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

The wallet sign-in QR on mainnet shows dash-key:<base58>?n=m&v=2. Wallets refuse that carrier on mainnet: it was only ever a stopgap for testnet. The current format is the App Connect DIP's carrier (dashpay/dips#181; yappr docs/APP_CONNECT_PROFILE.md):

dashpay://connect?v=2&n=<m|t|d>&r=<base64url(body)>[&cb=<https URL>]

DashPay for Android 11.9.2 (DashConnectUri.kt, manifest host connect) and Dash Wallet for iOS 9.1.4 (DashConnectUri.swift) both read it on every network.

  • buildAppConnectUri now builds dashpay://connect by default on every network. The canonical base64url codec and the carrier parser are ported from yappr staging's vendored platform-auth. The request body, spend limit, expiry and security model stay the same. No seed or master key goes near the page.
  • The parser still reads dash-key: off mainnet, and refuses it on mainnet. The shared vectors.json keeps its dash-key: URIs, because wallets test against them.
  • A new test builds the dashwallet-ios connectVectorUri (the DIP request vector) byte for byte.
  • Updated the help text, the unit tests, the Playwright selectors, the CHANGELOG and wallet-primary.md. The wallet version minimums don't change.

Not in this PR: dg auth login --wallet still prints dash-key:.

Local checks: tsc --noEmit, eslint, and vitest on lib/vendor/platform-auth, lib/auth, components/auth and login-modal (797 passed).

🤖 Generated with Claude Code

Wallets refuse the transitional dash-key: carrier on mainnet. Build the
App Connect DIP carrier (dashpay://connect?v=2&n=&r=<base64url>) on every
network, ported from yappr's platform-auth; the parser still reads
dash-key: off mainnet. The built URI matches the dashwallet-ios test
vector byte for byte.

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

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 1a5cee79-045b-4240-9d71-8abc5010457c
Commits

Reviewing files that changed from the base of the PR and between e14bf8d and 9451b7b.

Files selected for processing: 8

  • CHANGELOG.md
  • docs/design/wallet-primary.md
  • forge-web/components/auth/wallet-connect-flow.test.tsx
  • forge-web/components/auth/wallet-connect-flow.tsx
  • forge-web/e2e/wallet-login-v2.spec.ts
  • forge-web/lib/vendor/platform-auth/app-connect/request.test.ts
  • forge-web/lib/vendor/platform-auth/app-connect/request.ts
  • forge-web/lib/vendor/platform-auth/app-connect/test-helpers.ts
  • 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

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