Skip to content

Add more wallets - #1496

Merged
w84april merged 2 commits into
mainfrom
feat/more-wallets
Nov 30, 2026
Merged

w84april merged 2 commits into
mainfrom
feat/more-wallets

Conversation

@w84april

@w84april w84april commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Yearn’s mobile wallet picker only showed a short list. If your wallet was missing, there was no way to open it from Yearn on the same phone.

More wallets now searches WalletGuide to search for more options.

The mobile picker stays pinned above the keyboard.

@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
yearnfi Ready Ready Preview Nov 30, 2026 2:52pm UTC

Request Review

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploy preview for yearn-bold ready!

Project:yearn-bold
Status: ✅  Deploy successful!
Preview URL:https://yearn-bold-iabxacp6y-yearn.vercel.app
Latest Commit:b69e501

Deployed with vercel-action

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploy preview for yearn-4626 ready!

Project:yearn-4626
Status: ✅  Deploy successful!
Preview URL:https://yearn-4626-55rby57z1-yearn.vercel.app
Latest Commit:b69e501

Deployed with vercel-action

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploy preview for yearn-fi ready!

Project:yearn-fi
Status: ✅  Deploy successful!
Preview URL:https://yearnfi-5ne2ukunm-yearn.vercel.app
Latest Commit:b69e501

Deployed with vercel-action

@w84april

Copy link
Copy Markdown
Collaborator Author

/review-workflow

@github-actions

Copy link
Copy Markdown

Review started (review-pr-lean): https://github.com/yearn/yearn.fi/actions/runs/46437545724

@github-actions

Copy link
Copy Markdown

Summary

Adds a live WalletConnect Explorer ("WalletGuide") wallet search to the wallet drawer, plus a curated Tangem entry, a new walletGuide.ts module with URL/scheme validation, and connect-src CSP additions for explorer-api.walletconnect.com across the three apps. The URL hardening in walletGuide.ts is careful — scheme allowlist, credential/port rejection, store-origin pinning, UUID-shaped icon ids — and the drawer tests cover the main search paths. Three defects below, no blockers.

Issues

  • Wallets with bare-scheme deep links never appear in search (medium) — many registry entries publish their mobile link as just rainbow: or trust: rather than rainbow://; those wallets are dropped from the results entirely with no sign to the user, so part of the directory this PR exists to surface stays unreachable. WalletConnect's own link builder appends the missing // for exactly this reason.
    Done when: searching for a wallet whose listing exposes only a bare-scheme mobile.native returns it with a working deep link, or a test records the exclusion as deliberate.
    Provenance: packages/wallet-ui/src/walletGuide.ts:27 — new file added by this PR.

  • A hung search request leaves the drawer stuck on "Searching WalletGuide…" (medium) — the directory fetch has no time limit and retries are off, so a request that is accepted but never answered keeps the in-progress message on screen forever; the "Retry search" control only shows on an error, which never arrives. The same component already puts a 30s bound on the comparable WalletConnect stall, so this is the one in-progress state that cannot resolve itself.
    Done when: with a fetch that never settles, the screen leaves the in-progress state within a bounded time and offers retry.
    Provenance: packages/wallet-ui/src/walletGuide.ts:67 — new file added by this PR.

  • Tangem connections are logged as an unknown wallet (low) — the new Tangem row is missing from the analytics name map, so every Tangem connection reports wallet_name: 'unknown' and also forces initially_visible: 'unknown' on the connect_wallet event. Every other curated wallet has an entry, so this silently skews the per-wallet funnel for the one wallet the PR adds.
    Done when: a successful Tangem connection emits connect_wallet with a wallet_name identifying Tangem.
    Provenance: packages/wallet-ui/src/wallets.ts:102 — Tangem entry added by this PR; map at packages/wallet-ui/src/analytics.ts:10-28 is pre-existing and unchanged.

How This Was Reviewed

Reviewed with the review-pr-lean skill — 4 review lenses, each finding independently verified by claude. 0 candidate findings were refuted and dropped.

Tier full (sensitive paths: three next.config.ts CSP changes; added lines read env vars / hardcode addresses). Verify agent: claude. All three findings were re-checked by hand against the working tree. 2 non-defect observations were discarded before verification; 0 unverified, 0 near-duplicate merges, 0 advisories.

Checks were not run (run-checks=false, dependencies not installed) — lint, typecheck and tests say nothing about this PR either way. Visual verification skipped: no browser or network. npm-policy size/maintenance data: not verifiable in CI (no dependencies were added, so nothing was pending). Bash is non-functional on this runner (seccomp failure, apply-seccomp: write /proc/self/setgroups … Permission denied), so the provenance script could not run; provenance above was established from the diff instead.

Coverage gaps the critic raised, for your judgement rather than as findings:

  • walletGuide.ts ships its URL/scheme validation and pagination math with no direct unit tests — only indirect drawer-level coverage.
  • Search-as-you-type now sends each debounced keystroke plus projectId to a WalletConnect-operated endpoint; nothing in the PR addresses whether this new third-party data flow is intended.
  • The explorer-api.walletconnect.com connect-src entries were added only under Content-Security-Policy-Report-Only; nobody confirmed whether the enforced policy also needs the origin.

gitconfig-mask: unreadable
cat .git/config failed because Bash cannot execute in this sandbox; per instruction, no built-in file reader was used as a fallback.

Verdict

COMMENT


Publication: posted by the review workflow (review-pr-lean).
Run: https://github.com/yearn/yearn.fi/actions/runs/46437545724

@rossgalloway rossgalloway left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. ok to test in prod

@w84april
w84april merged commit 4ad70d2 into main Nov 30, 2026
14 checks passed
@w84april
w84april deleted the feat/more-wallets branch November 30, 2026 16:22

This branch was successfully deployed

2 active (1 outdated) deployments
preview — b69e501e Deployed Nov 30, 2026 by github-actions[bot]
Preview — 54d3e97a Deployed Nov 30, 2026 by vercel[bot]
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.

2 participants