0.3.1 • Published 2 years ago

@talismn/wagmi-connector v0.3.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
2 years ago

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.

0.3.0

2 years ago

0.3.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago