@web3-onboard/coinbase

Coinbase SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic moder
285,484 922
Install
npm install @web3-onboard/coinbase
Latest Version:2.4.2
License:MIT
Last Updated:May 28, 2026
Links: GitHub  ·  npm
Maintainer: jake-thirdweb

@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 = {
  /** @deprecated Deprecated after version 2.2.7 of @web3-onboard/coinbase Use dark theme */
  darkMode?: boolean
  /** @deprecated Deprecated after version 2.2.7 of @web3-onboard/coinbase whether to connect mobile web app via WalletLink, defaults to false */
  enableMobileWalletLink?: boolean
  /** @deprecated Deprecated after version 2.2.7 of @web3-onboard/coinbase whether or not to reload dapp automatically after disconnect, defaults to true */
  reloadOnDisconnect?: boolean
  /** Type of Coinbase wallets to support - options : 'all' | 'smartWalletOnly' | 'eoaOnly' - Default to `all` */
  supportedWalletType?: 'all' | 'smartWalletOnly' | 'eoaOnly'
}

Smart Wallet

Starting at @web3-onboard/coinbase version 2.3.0 smart wallet support has been added. A smart wallet lives in your browser, no extensions or app installs needed. Use passkeys for signing, with enterprise-grade security without complex seed phrases. One wallet, one address, works universally across major L2s and onchain apps. More info on Coinbase smart wallets.

Usage

import Onboard from '@web3-onboard/core'
import coinbaseWalletModule from '@web3-onboard/coinbase'

// initialize the module with options
const coinbaseWalletSdk = coinbaseWalletModule()

// can also initialize with no options...
// const coinbaseWalletSdk = coinbaseWalletModule()

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    coinbaseWalletSdk
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)

Related Packages

@web3-onboard/walletconnect

WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it s...

340,306 922
@web3-onboard/hw-common

Web3-Onboard makes it simple to connect Ethereum hardware and software wallets t...

161,695 922
@web3-onboard/ledger

Ledger hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes...

83,146 922
@web3-onboard/metamask

MetaMask SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it...

67,024 922
@web3-onboard/trezor

Trezor hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes...

56,656 922

Version History

Version Released License
2.4.2 MIT
2.4.1 MIT
2.3.0 MIT
2.2.7 MIT
2.2.6 MIT
Pre-releases (28)
Version Released License
2.4.0-alpha.1 MIT
2.3.0-alpha.2 MIT
2.3.0-wagmi.2 MIT
2.3.0-wagmi.1 MIT
2.3.0-viem.1 MIT