@subwallet-connect/fortmatic
v1.0.8
Published
Fortmatic wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern j
Downloads
12
Maintainers
Readme
@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)