yarn add @web3-react/fortmatic-connector
apiKey: string
chainId: number
import { FortmaticConnector } from '@web3-react/fortmatic-connector'
const fortmatic = new FortmaticConnector({ apiKey: '...', chainId: 4 })
Note: Once the connector has been activated, the Fortmatic SDK instance can be accessed under the .fortmatic
property.