UNPKG

essefuga

Version:

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps

24 lines (17 loc) 524 B
# `web3-react` Documentation - Fortmatic - [Install](#install) - [Arguments](#arguments) - [Example](#example) ## Install `yarn add @web3-react/fortmatic-connector` ## Arguments ```typescript apiKey: string chainId: number ``` ## Example ```javascript 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.