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

2.0.0-alpha.6 • Public • Published

@bn-onboard/walletlink

Wallet module for connecting WalletLink to Onboard V2

Install

npm i @bn-onboard/walletlink

Options

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

Usage

import Onboard from '@bn-onboard/core'
import walletLinkModule from '@bn-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)

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i @bn-onboard/walletlink

Weekly Downloads

0

Version

2.0.0-alpha.6

License

MIT

Unpacked Size

4.63 kB

Total Files

6

Last publish

Collaborators

  • tdawson
  • zeroecco
  • cmeisl