@sekmet/connectors
TypeScript icon, indicating that this package has built-in type declarations

0.2.7 • Public • Published

@wagmi/connectors

Collection of connectors for wagmi.

Installation

Install the @wagmi/connectors package.

npm i @wagmi/connectors

Usage

Configure your wagmi client with connectors!

import { configureChains, createClient } from 'wagmi'

import { InjectedConnector } from '@wagmi/connectors/injected'

const { chains, provider } = configureChains(...)

const client = createClient({
  connectors: [
    new InjectedConnector({ chains }),
  ],
  provider,
})

If your bundler supports tree-shaking (most likely), only the used connectors will be included in the bundle, so you don't have to worry about bundle size. 😊

Connectors

Contributing

Want to add another chain to the list? Make sure you read the contributing guide first.

/@sekmet/connectors/

    Package Sidebar

    Install

    npm i @sekmet/connectors

    Homepage

    wagmi.sh

    Weekly Downloads

    18

    Version

    0.2.7

    License

    MIT

    Unpacked Size

    76 kB

    Total Files

    30

    Last publish

    Collaborators

    • sekmet