Wallets
Walletlink
WARNING
Wallet module for connecting WalletLink to web3-onboard is now deprecated. Please use @web3-onboard/coinbase
Install
- Yarn
- Npm
Wallets
Wallet module for connecting WalletLink to web3-onboard is now deprecated. Please use @web3-onboard/coinbase
yarn add @web3-onboard/walletlink npm install @web3-onboard/walletlink type WalletLinkOptions = { darkMode: boolean // default = false } import Onboard from '@web3-onboard/core' import walletLinkModule from '@web3-onboard/walletlink' // initialize the module with options const walletLink = walletLinkModule({ darkMode: true }) // can also initialize with no options... // const walletLink = walletLinkModule() const onboard = Onboard({ // ... other Onboard options wallets: [ walletLink //... other wallets ] }) const connectedWallets = await onboard.connectWallet() console.log(connectedWallets)