Fortmatic
Wallet module for connecting Fortmatic hardware wallet to web3-onboard. Will be migrating to Magic wallet soon.

@web3-onboard/fortmatic

Install

npm i @web3-onboard/fortmatic

Options

1
type FortmaticOptions = {
2
apiKey: string
3
}
Copied!

Usage

1
import Onboard from '@web3-onboard/core'
2
import fortmaticModule from '@web3-onboard/fortmatic'
3
4
const fortmatic = fortmaticModule({ apiKey: 'API_KEY' })
5
6
const onboard = Onboard({
7
// ... other Onboard options
8
wallets: [
9
fortmatic
10
//... other wallets
11
]
12
})
13
14
const connectedWallets = await onboard.connectWallet()
15
console.log(connectedWallets)
Copied!
Last modified 2mo ago