JSPM

@wagmi/connectors

0.3.4-cjs
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 401785
  • Score
    100M100P100Q190936F
  • License MIT

A collection of connectors for wagmi

Package Exports

  • @wagmi/connectors
  • @wagmi/connectors/coinbaseWallet
  • @wagmi/connectors/dist/coinbaseWallet.js
  • @wagmi/connectors/dist/index.js
  • @wagmi/connectors/dist/injected.js
  • @wagmi/connectors/dist/ledger.js
  • @wagmi/connectors/dist/metaMask.js
  • @wagmi/connectors/dist/mock/index.js
  • @wagmi/connectors/dist/safe.js
  • @wagmi/connectors/dist/walletConnect.js
  • @wagmi/connectors/dist/walletConnectLegacy.js
  • @wagmi/connectors/injected
  • @wagmi/connectors/ledger
  • @wagmi/connectors/metaMask
  • @wagmi/connectors/mock
  • @wagmi/connectors/safe
  • @wagmi/connectors/walletConnect
  • @wagmi/connectors/walletConnectLegacy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wagmi/connectors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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.