UNPKG

@web3-onboard/coinbase

Version:

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

13 lines (12 loc) 896 B
import type { WalletInit } from '@web3-onboard/common'; declare function coinbaseWallet({ supportedWalletType, darkMode, enableMobileWalletLink, reloadOnDisconnect }?: { /** @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'; }): WalletInit; export default coinbaseWallet;