diff --git a/packages/rainbowkit/src/locales/en_US.json b/packages/rainbowkit/src/locales/en_US.json index 3b8478173c..9063f5e959 100644 --- a/packages/rainbowkit/src/locales/en_US.json +++ b/packages/rainbowkit/src/locales/en_US.json @@ -340,20 +340,6 @@ "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.", "title": "Click on Connect" } - }, - "qr_code": { - "step1": { - "title": "Open the Bloom Wallet app", - "description": "We recommend putting Bloom Wallet on your home screen for quicker access." - }, - "step2": { - "description": "Create or import a wallet using your recovery phrase.", - "title": "Create or Import a Wallet" - }, - "step3": { - "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.", - "title": "Click on Connect" - } } }, diff --git a/packages/rainbowkit/src/wallets/walletConnectors/bloomWallet/bloomWallet.ts b/packages/rainbowkit/src/wallets/walletConnectors/bloomWallet/bloomWallet.ts index 2a3e752aae..cd4fa0cd08 100644 --- a/packages/rainbowkit/src/wallets/walletConnectors/bloomWallet/bloomWallet.ts +++ b/packages/rainbowkit/src/wallets/walletConnectors/bloomWallet/bloomWallet.ts @@ -1,4 +1,3 @@ -import { isMobile } from '../../../utils/isMobile'; import { DefaultWalletOptions, Wallet } from '../../Wallet'; import { getWalletConnectConnector } from '../../getWalletConnectConnector'; @@ -6,43 +5,14 @@ export const bloomWallet = ({ projectId, walletConnectParameters, }: DefaultWalletOptions): Wallet => ({ - id: 'bloomWallet', + id: 'bloom', name: 'Bloom Wallet', iconBackground: '#000', iconAccent: '#000', - hidden: () => isMobile(), iconUrl: async () => (await import('./bloomWallet.svg')).default, downloadUrls: { - qrCode: 'https://bloomwallet.io/', - windows: 'https://bloomwallet.io/', - macos: 'https://bloomwallet.io/', - linux: 'https://bloomwallet.io/', desktop: 'https://bloomwallet.io/', }, - qrCode: { - getUri: (uri: string) => - `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`, - instructions: { - learnMoreUrl: 'https://bloomwallet.io/', - steps: [ - { - description: 'wallet_connectors.bloom.qr_code.step1.description', - step: 'install', - title: 'wallet_connectors.bloom.qr_code.step1.title', - }, - { - description: 'wallet_connectors.bloom.qr_code.step2.description', - step: 'create', - title: 'wallet_connectors.bloom.qr_code.step2.title', - }, - { - description: 'wallet_connectors.bloom.qr_code.step3.description', - step: 'refresh', - title: 'wallet_connectors.bloom.qr_code.step3.title', - }, - ], - }, - }, desktop: { getUri: (uri: string) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,