Skip to content

refactor: use plain wallet ids instead of provider-all's WalletTypes - #1551

Open
Ikari-Shinji-re wants to merge 1 commit into
epic/widget-simplificationfrom
refactor/widget-wallet-ids
Open

Ikari-Shinji-re wants to merge 1 commit into
epic/widget-simplificationfrom
refactor/widget-wallet-ids

Conversation

@Ikari-Shinji-re

@Ikari-Shinji-re Ikari-Shinji-re commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Summary

First step of moving wallet provider setup out of the widget.

The widget only needs a few wallet ids: which wallet is the default injected one, and which wallets get init options (WalletConnect, TON Connect, OKX, Trezor, Ledger Wallet). They now come from WALLET_IDS in constants/wallets.ts instead of provider-all's WalletTypes. Used in the wallets container and the wallet list.

No behavior change. provider-all is still used to build providers; that goes away later in the stack.

Fixes # (issue)

How did you test this change?

  • widget-embedded: lint, type-check and build pass
  • widget-embedded unit tests pass (86)

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Implemented a user interface (UI) change, referencing our Figma design to ensure pixel-perfect precision.

This branch was successfully deployed

3 active deployments
app-preview — 95ed6d15 Deployed Nov 14, 2026 by Ikari-Shinji-re via app-preview #5578
playground-preview — 95ed6d15 Deployed Nov 14, 2026 by Ikari-Shinji-re via playground-preview #5578
preview — 95ed6d15 Deployed Nov 14, 2026 by Ikari-Shinji-re via deploy #5578
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