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

0.3.1 • Public • Published

Wagmi connector - Talisman

Install

yarn add @talismn/wagmi-connector

Options

chains?: Chain[]

Example

import { configureChains, createConfig } from 'wagmi'
import { goerli, mainnet } from 'wagmi/chains'
import { TalismanConnector } from '@talismn/wagmi-connector'

const { chains, publicClient, webSocketPublicClient } = configureChains(
  [mainnet, ...(process.env.NODE_ENV === 'development' ? [goerli] : [])],
  [publicProvider()]
)

export const config = createConfig({
  autoConnect: true,
  connectors: [
    new TalismanConnector({ chains }),
    //...other connectors
  ],
  publicClient,
  webSocketPublicClient,
})

Version compatibility

wagmi 1.x is compatible with current version of @talismn/wagmi-connector wagmi 0.9.x is compatible with @talismn/wagmi-connector version 0.2x. wagmi 0.8.x isn't compatible. wagmi 0.7.x is compatible with @talismn/wagmi-connector version 0.1.x.

Package Sidebar

Install

npm i @talismn/wagmi-connector

Weekly Downloads

26

Version

0.3.1

License

GPL-3.0-or-later

Unpacked Size

40.3 kB

Total Files

8

Last publish

Collaborators

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