From 11b6113a82b4e263a59cb07e575457c20dbf9a3f Mon Sep 17 00:00:00 2001 From: Mark Nardi Date: Mon, 4 Dec 2023 11:44:27 +0100 Subject: [PATCH] include bloom in walletconnect popup --- developer-guide/wallet-connect/guide.md | 33 +++++++------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/developer-guide/wallet-connect/guide.md b/developer-guide/wallet-connect/guide.md index f9f3ba2..a29a522 100644 --- a/developer-guide/wallet-connect/guide.md +++ b/developer-guide/wallet-connect/guide.md @@ -15,20 +15,16 @@ As we're waiting for WalletConnect to approve our project, you can add Bloom man ``` createWeb3Modal({ - //... - desktopWallets: [ - { - id: '652df0cee82d5cd3cadfd57829c5578a', - name: 'Bloom Wallet', - links: { - native: 'bloom://walletConnect/connect' - universal: 'bloomwallet.io', - }, - }, + //... + customWallets: [ + { + id: 'bloom', + name: 'Bloom', + homepage: 'https://bloomwallet.io/', + image_url: 'https://bloomwallet.io/assets/logos/bloom.png', + desktop_link: 'bloom://dapps/connect', + }, ], - walletImages: { - 652df0cee82d5cd3cadfd57829c5578a: "bloomwallet.io/assets/logos/bloom.png", - }; }) ``` @@ -45,14 +41,3 @@ createWeb3Modal({ ] }) ``` - -If your dApp requires a feature that most of the wallets don't implement, but `Bloom` does, you can use the following code instead of the code on top: - -``` -createWeb3Modal({ - //... - includeWalletIds: [ - '652df0cee82d5cd3cadfd57829c5578a', // Bloom wallet - ] -}) -``` \ No newline at end of file