@talismn/web3react-v6-connector
TypeScript icon, indicating that this package has built-in type declarations

6.0.1 • Public • Published

web3-react Documentation - Talisman

Install

yarn add @talismn/web3react-v6-connector

Arguments

supportedChainIds?: number[]

Example

import { TalismanConnector } from '@talismn/web3react-v6-connector'

const talisman = new TalismanConnector({ supportedChainIds: [1, 3, 4, 5, 42] })

Errors

NoEthereumProviderError

Example

import { NoEthereumProviderError } from '@talismn/web3react-v6-connector'

function Component() {
  const { error } = useWeb3React()
  const isNoEthereumProviderError = error instanceof NoEthereumProviderError
  // ...
}

UserRejectedRequestError

Example

import { UserRejectedRequestError } from '@talismn/web3react-v6-connector'

function Component() {
  const { error } = useWeb3React()
  const isUserRejectedRequestError = error instanceof UserRejectedRequestError
  // ...
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.0.113latest

Version History

VersionDownloads (Last 7 Days)Published
6.0.113
6.0.00

Package Sidebar

Install

npm i @talismn/web3react-v6-connector

Weekly Downloads

13

Version

6.0.1

License

GPL-3.0-or-later

Unpacked Size

155 kB

Total Files

12

Last publish

Collaborators

  • chrisling-dev
  • tien-talisman
  • 0xkheops
  • jonpdunne
  • warp_lizard
  • alectalisman