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

2.0.0-alpha.6 • Public • Published

@bn-onboard/fortmatic

Wallet module for connecting Ledger hardware wallets to Onboard V2

Install

npm i @bn-onboard/fortmatic

Options

type FortmaticOptions = {
  apiKey: string
}

Usage

import Onboard from '@bn-onboard/core'
import fortmaticModule from '@bn-onboard/fortmatic'

const fortmatic = fortmaticModule({ apiKey: 'API_KEY' })

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @bn-onboard/fortmatic

Weekly Downloads

9

Version

2.0.0-alpha.6

License

MIT

Unpacked Size

6.03 kB

Total Files

6

Last publish

Collaborators

  • tdawson
  • zeroecco
  • cmeisl