Repository navigation
fix(web): show wallet sign-in as dashpay://connect - #703
Merged
Merged
Conversation
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]>
|
Warning Review limit reachedYou'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. View limit details
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. |
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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; yapprdocs/APP_CONNECT_PROFILE.md):DashPay for Android 11.9.2 (
DashConnectUri.kt, manifest hostconnect) and Dash Wallet for iOS 9.1.4 (DashConnectUri.swift) both read it on every network.buildAppConnectUrinow buildsdashpay://connectby 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.dash-key:off mainnet, and refuses it on mainnet. The sharedvectors.jsonkeeps itsdash-key:URIs, because wallets test against them.connectVectorUri(the DIP request vector) byte for byte.wallet-primary.md. The wallet version minimums don't change.Not in this PR:
dg auth login --walletstill printsdash-key:.Local checks:
tsc --noEmit, eslint, and vitest onlib/vendor/platform-auth,lib/auth,components/authandlogin-modal(797 passed).🤖 Generated with Claude Code