Skip to content

Commit

Permalink
update walletconnect guide
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkNerdi committed Nov 28, 2023
1 parent 30f37be commit 21980a1
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
34 changes: 32 additions & 2 deletions developer-guide/wallet-connect/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,43 @@ order: 1000

# Guide


## Include Bloom in Web3Modal


### Add Bloom to wallets

As we're waiting for WalletConnect to approve our project, you can add Bloom manually to the list of wallets as follows:

```
createWeb3Modal({
//...
desktopWallets: [
{
id: '652df0cee82d5cd3cadfd57829c5578a',
name: 'Bloom Wallet',
links: {
native: 'bloom://walletConnect/connect'
universal: 'bloomwallet.io',
},
},
],
walletImages: {
652df0cee82d5cd3cadfd57829c5578a: "bloomwallet.io/assets/logos/bloom.png",
};
})
```


### Add Bloom as recommendation

`WalletConnect`s `Web3Modal` has many suggestions on wallets on all ecosystems, but these suggestions can be adapted and changed by the dApp developer. If `Bloom` wallet implements features that your app requires, or if you generally want to recomment `Bloom` for your dApp's users, you can include the following code into your code base:

```
createWeb3Modal({
//...
featuredWalletIds: [
'1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369', // Bloom wallet
'652df0cee82d5cd3cadfd57829c5578a', // Bloom wallet
]
})
```
Expand All @@ -22,7 +52,7 @@ If your dApp requires a feature that most of the wallets don't implement, but `B
createWeb3Modal({
//...
includeWalletIds: [
'1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369', // Bloom wallet
'652df0cee82d5cd3cadfd57829c5578a', // Bloom wallet
]
})
```
2 changes: 2 additions & 0 deletions developer-guide/wallet-connect/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ To be able to connect with the IOTA / Shimmer ecosystem, Bloom implements `Walle

If you're a dApp developer and plan to implement `WalletConnect` into your dApp, checkout https://docs.walletconnect.com/web3modal/about.

**Bloom projectId**: `652df0cee82d5cd3cadfd57829c5578a`

[Include Bloom](guide.md)
[Supported Networks and Methods](supported.md)

0 comments on commit 21980a1

Please sign in to comment.