WalletLink [DEPRECATED]
[DEPRECATED] - Use Coinbase module instead

@web3-onboard/walletlink [DEPRECATED]

Install

npm i @web3-onboard/walletlink

Options

1
type WalletLinkOptions = {
2
darkMode: boolean // default = false
3
}
Copied!

Usage

1
import Onboard from '@web3-onboard/core'
2
import walletLinkModule from '@web3-onboard/walletlink'
3
4
// initialize the module with options
5
const walletLink = walletLinkModule({ darkMode: true })
6
7
// can also initialize with no options...
8
// const walletLink = walletLinkModule()
9
10
const onboard = Onboard({
11
// ... other Onboard options
12
wallets: [
13
walletLink
14
//... other wallets
15
]
16
})
17
18
const connectedWallets = await onboard.connectWallet()
19
console.log(connectedWallets)
Copied!