New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wagmi/chains

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wagmi/chains

A collection of chains for wagmi

0.0.0-20221130194251
Source
npm
Version published
Weekly downloads
17K
-43.76%
Maintainers
2
Weekly downloads
 
Created
Source

@wagmi/chains

Installation

Install the @wagmi/chains reference package.

npm i @wagmi/chains

Usage

Use your preferred chains!

import { configureChains } from 'wagmi'
import { avalanche, bsc, mainnet } from '@wagmi/chains'

const { chains, provider } = configureChains(
  [mainnet, avalanche, bsc],
  ...
)

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

Chains

  • mainnet
  • goerli
  • arbitrum
  • arbitrumGoerli
  • avalanche
  • avalancheFuji
  • bsc
  • bscTestnet
  • optimism
  • optimismGoerli
  • polygon
  • polygonMumbai
  • sepolia

Keywords

eth

FAQs

Package last updated on 30 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts