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

1.0.4 • Public • Published

@subwallet-connect/fortmatic

Wallet module for connecting Fortmatic to web3-onboard

Install

npm i @subwallet-connect/fortmatic

Options

type FortmaticOptions = {
  apiKey: string
}

Usage

import Onboard from '@subwallet-connect/core'
import fortmaticModule from '@subwallet-connect/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)

Package Sidebar

Install

npm i @subwallet-connect/fortmatic

Weekly Downloads

52

Version

1.0.4

License

MIT

Unpacked Size

7.9 kB

Total Files

6

Last publish

Collaborators

  • anhmtv