Repository navigation
feat: require wallet providers from the host app - #1555
Open
Ikari-Shinji-re wants to merge 2 commits into
Open
Ikari-Shinji-re wants to merge 2 commits into
Ikari-Shinji-re wants to merge 2 commits into
Conversation
Ikari-Shinji-re
requested review from
RyukTheCoder and
nikaaru
as code owners
November 14, 2026 10:24
Ikari-Shinji-re
force-pushed
the
feat/playground-wallet-providers
branch
from
November 16, 2026 13:24
4136bf1 to
9e3e452
Compare
Ikari-Shinji-re
force-pushed
the
feat/widget-wallets-as-providers-required
branch
from
November 16, 2026 13:28
2cd776a to
ec820fe
Compare
This branch was successfully deployed
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.
Summary
Last step of moving wallet provider setup out of the widget Breaking.
config.walletsis now a required list of hubProviders created by the host app, already set up with whatever each wallet needs. The widget still connects and manages them with wallets-react, and no longer knows about any specific wallet's setup.wallets: Provider[]is required;DEFAULT_CONFIGhaswallets: [].walletConnectProjectId,trezorManifest,tonConnect,ledgerWalletand__UNSTABLE_OR_INTERNAL__.walletConnectListedDesktopWalletLinkare removed, along with their types. Their setup is now passed to the providers when they're built (e.g.allProviders({ walletConnect, trezor, tonConnect, ledgerWallet })).utils/providers.tsandhooks/useWalletProviders/.config.wallets.@rango-dev/provider-alland the 10 hub3js packages the widget never imports.@hub3js/coreand@hub3js/namespacesstay (types);@rango-dev/wallets-reactstays (the wallet engine).app-v2 already passes providers, but it will need to build them with their setup and drop the removed fields from its Redux widget config.
Fixes # (issue)
How did you test this change?
widget-embedded: lint, type-check and build passwidget-embeddedunit tests pass (86)walletConnectProjectId; WalletConnect shows up and connectsChecklist: