Wallets
Fortmatic
Wallet module for connecting Fortmatic wallets to Web3 Onboard.
Install
- Yarn
- Npm
Options
Usage
Build Environments
For build env configurations and setups please see the Build Env section here
Wallets
Wallet module for connecting Fortmatic wallets to Web3 Onboard.
yarn add @web3-onboard/fortmatic
npm install @web3-onboard/fortmatic
type FortmaticOptions = {
apiKey: string
}
import Onboard from '@web3-onboard/core'
import fortmaticModule from '@web3-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)
For build env configurations and setups please see the Build Env section here