Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 505 Bytes

torus.md

File metadata and controls

24 lines (18 loc) · 505 Bytes

web3-react Documentation - Torus

Install

yarn add @web3-react/torus-connector

Arguments

chainId: number
initOptions?: any
constructorOptions?: any

Example

import { TorusConnector } from '@web3-react/torus-connector'

const torus = new TorusConnector({ chainId: 1 })

Note: Once the connector has been activated, the Torus SDK instance can be accessed under the .torus property.