@web3-onboard/coinbase
Wallet module for connecting Coinbase Wallet SDK to web3-onboard
See Coinbase Wallet Developer Docs
Install
npm i @web3-onboard/coinbase
Options
type CoinbaseWalletOptions = {
darkMode: boolean
}
Usage
import Onboard from '@web3-onboard/core'
import coinbaseWalletModule from '@web3-onboard/coinbase'
const coinbaseWalletSdk = coinbaseWalletModule({ darkMode: true })
const onboard = Onboard({
wallets: [
coinbaseWalletSdk
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)