UNPKG

essefuga

Version:

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

25 lines (18 loc) 505 B
# `web3-react` Documentation - Torus - [Install](#install) - [Arguments](#arguments) - [Example](#example) ## Install `yarn add @web3-react/torus-connector` ## Arguments ```typescript chainId: number initOptions?: any constructorOptions?: any ``` ## Example ```javascript 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.