Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 609 Bytes

squarelink.md

File metadata and controls

27 lines (21 loc) · 609 Bytes

web3-react Documentation - Squarelink

Install

yarn add @web3-react/squarelink-connector

Arguments

clientId: string
networks: (number | { chainId: number; [key: string]: any })[]
options?: any

Example

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.