Skip to content

Commit b8aeb4a

Browse files
authored
Update +page.md (#1775)
1 parent 193b510 commit b8aeb4a

File tree

1 file changed

+11
-2
lines changed
  • docs/src/routes/docs/[...4]wallets/[...24]walletconnect

1 file changed

+11
-2
lines changed

docs/src/routes/docs/[...4]wallets/[...24]walletconnect/+page.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Walletconnect
2+
title: WalletConnect
33
---
44

55
# {$frontmatter.title}
@@ -116,7 +116,16 @@ const onboard = Onboard({
116116
wallets: [
117117
walletConnect
118118
//... other wallets
119-
]
119+
],
120+
chains: [ // chains that are passed as optional chains to WC wallet after cleaning and parsing as number[]
121+
{
122+
id: '0x89',
123+
token: 'MATIC',
124+
label: 'Polygon',
125+
rpcUrl: 'https://matic-mainnet.chainstacklabs.com'
126+
}
127+
// ...
128+
]
120129
})
121130

122131
const connectedWallets = await onboard.connectWallet()

0 commit comments

Comments
 (0)