Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 524 Bytes

fortmatic.md

File metadata and controls

23 lines (17 loc) · 524 Bytes

web3-react Documentation - Fortmatic

Install

yarn add @web3-react/fortmatic-connector

Arguments

apiKey: string
chainId: number

Example

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.