@yuripetusko/wagmi-connector
v0.2.0
Published
- [Install](#install) - [Arguments](#arguments) - [Example](#example)
Downloads
1
Readme
Wagmi connector - Talisman
Install
yarn add @talismn/wagmi-connector
Options
chains?: Chain[]
Example
import { WagmiConfig, configureChains, createClient, defaultChains } from 'wagmi'
import { TalismanConnector } from '@talismn/wagmi-connector'
const { chains, provider, webSocketProvider } = configureChains(defaultChains, [alchemyProvider({ alchemyId })])
const client = createClient({
autoConnect: true,
connectors: [
new TalismanConnector({
chains,
}),
//...other connectors
],
provider,
webSocketProvider,
})
Version compatibility
wagmi
0.9.x is compatible with current version of @talismn/wagmi-connector
.
wagmi
0.8.x isn't compatible.
wagmi
0.7.x is compatible with @talismn/wagmi-connector
version 0.1.x.