yarn add @web3-react/squarelink-connector
clientId: string
networks: (number | { chainId: number; [key: string]: any })[]
options?: any
import { SquarelinkConnector } from '@web3-react/squarelink-connector'
const squarelink = new SquarelinkConnector({
clientId: '...',
networks: [1, 100]
})
Note: Once the connector has been activated, the Squarelink SDK instance can be accessed under the .squarelink
property.