Skip to content

Commit

Permalink
Merge branch 'main' into @daniel/wagmi-2.12.8
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSinclair authored Sep 5, 2024
2 parents 4a59012 + 2dda603 commit efd6c7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 45 deletions.
14 changes: 0 additions & 14 deletions packages/rainbowkit/src/locales/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
},

Expand Down
Original file line number Diff line number Diff line change
@@ -1,48 +1,19 @@
import { isMobile } from '../../../utils/isMobile';
import type { DefaultWalletOptions, Wallet } from '../../Wallet';
import { isMobile } from '../../../utils/isMobile';
import { getWalletConnectConnector } from '../../getWalletConnectConnector';

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)}`,
Expand Down

0 comments on commit efd6c7c

Please sign in to comment.