2.4.2 • Published 4 months ago

@web3-onboard/coinbase v2.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@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)
2.4.2

4 months ago

2.4.0-alpha.1

1 year ago

2.4.1

1 year ago

2.3.0-wagmi.2

1 year ago

2.3.0-alpha.2

1 year ago

2.3.0

1 year ago

2.3.0-wagmi.1

1 year ago

2.3.0-viem.1

1 year ago

2.2.7

1 year ago

2.2.7-alpha.1

1 year ago

2.2.5

2 years ago

2.2.6

2 years ago

2.2.6-alpha.1

2 years ago

2.2.5-alpha.1

2 years ago

2.2.1-alpha.2

2 years ago

2.2.1-alpha.1

2 years ago

2.2.2-alpha.1

2 years ago

2.2.3-alpha.1

2 years ago

2.2.1

2 years ago

2.2.4-alpha.1

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.4

2 years ago

2.2.3-alpha.2

2 years ago

2.2.0

3 years ago

2.2.0-alpha.1

3 years ago

2.1.4-alpha.1

3 years ago

2.1.3

3 years ago

2.1.3-alpha.1

3 years ago

2.1.2

3 years ago

2.1.2-alpha.1

3 years ago

2.1.1

3 years ago

2.1.1-alpha.1

3 years ago

2.1.0

3 years ago

2.0.11

3 years ago

2.0.11-alpha.1

3 years ago

2.0.10

3 years ago

2.0.9

3 years ago

2.0.9-alpha.1

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.7-alpha.1

3 years ago

2.0.6

3 years ago

2.0.6-alpha.1

3 years ago

2.0.5

3 years ago

2.0.5-alpha.1

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.3-alpha.2

3 years ago

2.0.3-alpha.1

3 years ago

2.0.2-alpha.1

3 years ago

2.0.2-alpha

3 years ago

2.0.2

3 years ago

2.0.0

3 years ago