@web3-onboard/walletlink
TypeScript icon, indicating that this package has built-in type declarations

2.1.7 • Public • Published

@web3-onboard/walletlink

(Deprecated) Wallet module for connecting WalletLink to web3-onboard

Use @web3-onboard/coinbase

Install

npm i @web3-onboard/walletlink

Options

type WalletLinkOptions = {
  darkMode: boolean // default = false
}

Usage

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)

Package Sidebar

Install

npm i @web3-onboard/walletlink

Weekly Downloads

96

Version

2.1.7

License

MIT

Unpacked Size

6.01 kB

Total Files

6

Last publish

Collaborators

  • aaronbarnard1
  • cmeisl