feat(#519): same-device WalletConnect mobile pairing #1053

Merged
PlasticDigits merged 2 commits from feat/519-walletconnect-mobile-deeplink into main 2026-08-15 09:52:35 +00:00
PlasticDigits commented 2026-08-15 09:43:50 +00:00 (Migrated from gitlab.com)

Summary

  • On mobile viewports/user-agents, WalletConnect pairing (Lunc Dash, Galaxy Station) now shows Open {wallet}, Open wallet (wc:), and Copy pairing link instead of a QR the user cannot scan on the same phone.
  • Desktop QR path is unchanged (cosmes QRCodeModal still shows Scan + canvas when the hook returns false).
  • Cosmes no longer auto-location.hrefs from the async session callback (not a user gesture on iOS/Android). Vanilla fallback still has Open + Copy if the React hook is missing.

Closes #519

Test plan

  • make verify-issue-519 (unit + docs/skills invariants WC-M1–WC-M7)
  • Phone Safari/Chrome: Connect Wallet → Lunc Dash → Open Lunc Dash (or copy into the wallet) → approve → address in header
  • Phone: Galaxy Station same-device Open / Copy path
  • Desktop: Lunc Dash still shows QR only; scan from a second device still works
  • Copy pairing link writes the raw wc: URI (paste into the wallet WalletConnect input)
  • In-app browser (Keplr / Lunc Dash / Galaxy Station) still connects without pairing (WC-M7 alternate path)
## Summary - On mobile viewports/user-agents, WalletConnect pairing (Lunc Dash, Galaxy Station) now shows **Open {wallet}**, **Open wallet** (`wc:`), and **Copy pairing link** instead of a QR the user cannot scan on the same phone. - Desktop QR path is unchanged (cosmes `QRCodeModal` still shows Scan + canvas when the hook returns false). - Cosmes no longer auto-`location.href`s from the async session callback (not a user gesture on iOS/Android). Vanilla fallback still has Open + Copy if the React hook is missing. Closes #519 ## Test plan - [ ] `make verify-issue-519` (unit + docs/skills invariants WC-M1–WC-M7) - [ ] Phone Safari/Chrome: Connect Wallet → Lunc Dash → **Open Lunc Dash** (or copy into the wallet) → approve → address in header - [ ] Phone: Galaxy Station same-device Open / Copy path - [ ] Desktop: Lunc Dash still shows QR only; scan from a second device still works - [ ] Copy pairing link writes the raw `wc:` URI (paste into the wallet WalletConnect input) - [ ] In-app browser (Keplr / Lunc Dash / Galaxy Station) still connects without pairing (WC-M7 alternate path)
PlasticDigits commented 2026-08-15 09:51:38 +00:00 (Migrated from gitlab.com)

mentioned in issue #519

mentioned in issue #519
PlasticDigits commented 2026-08-15 09:52:27 +00:00 (Migrated from gitlab.com)

added 4 commits

  • 07f7cbe1...e0b6033a - 3 commits from branch main
  • 8bb0e6ab - Merge branch 'main' into feat/519-walletconnect-mobile-deeplink

Compare with previous version

added 4 commits <ul><li>07f7cbe1...e0b6033a - 3 commits from branch <code>main</code></li><li>8bb0e6ab - Merge branch &#39;main&#39; into feat/519-walletconnect-mobile-deeplink</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/335/diffs?diff_id=1963768035&start_sha=07f7cbe1e51b46d659b33a1a02fc9c3abb026ec6)
PlasticDigits commented 2026-08-15 09:52:35 +00:00 (Migrated from gitlab.com)

mentioned in commit 417257b89e

mentioned in commit 417257b89eb00ccf5b763c743b60c29d2635e486
PlasticDigits (Migrated from gitlab.com) merged commit 417257b89e into main 2026-08-15 09:52:35 +00:00
PlasticDigits commented 2026-08-15 09:57:13 +00:00 (Migrated from gitlab.com)

mentioned in issue #521

mentioned in issue #521
PlasticDigits commented 2026-08-18 00:20:44 +00:00 (Migrated from gitlab.com)

mentioned in issue #554

mentioned in issue #554
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic!1053
No description provided.