@@ -9,6 +9,7 @@ import type {
99 InjectedSupportedWalletIds ,
1010 WCSupportedWalletIds ,
1111} from "../../../../../wallets/__generated__/wallet-ids.js" ;
12+ import { BASE_ACCOUNT , COINBASE } from "../../../../../wallets/constants.js" ;
1213import { isEcosystemWallet } from "../../../../../wallets/ecosystem/is-ecosystem-wallet.js" ;
1314import { getInstalledWalletProviders } from "../../../../../wallets/injected/mipdStore.js" ;
1415import type { Wallet } from "../../../../../wallets/interfaces/wallet.js" ;
@@ -274,8 +275,8 @@ export function AnyWalletConnectUI(props: {
274275 ) ;
275276 }
276277
277- // any other known wallet
278- if ( props . wallet . id ) {
278+ // wallets with their own SDK
279+ if ( props . wallet . id === COINBASE || props . wallet . id === BASE_ACCOUNT ) {
279280 return (
280281 < Suspense fallback = { < LoadingScreen /> } >
281282 < CoinbaseSDKWalletConnectUI
@@ -295,6 +296,27 @@ export function AnyWalletConnectUI(props: {
295296 ) ;
296297 }
297298
299+ // any other known wallet connects over WalletConnect, which renders its QR in the modal
300+ if ( props . wallet . id ) {
301+ return (
302+ < WalletConnectConnection
303+ chain = { props . chain }
304+ chains = { props . chains }
305+ client = { props . client }
306+ done = { props . done }
307+ locale = { locale }
308+ onBack = { props . onBack }
309+ onGetStarted = { ( ) => {
310+ setScreen ( "get-started" ) ;
311+ } }
312+ size = { props . size }
313+ wallet = { props . wallet as Wallet < WCSupportedWalletIds > }
314+ walletConnect = { props . walletConnect }
315+ walletInfo = { walletInfo . data }
316+ />
317+ ) ;
318+ }
319+
298320 // if can't connect in any way - show get started screen
299321 return (
300322 < GetStartedScreen
0 commit comments