UNPKG

viem

Version:

TypeScript Interface for Ethereum

32 lines (30 loc) 689 B
import { defineChain } from '../../utils/chain/defineChain.js' import { chainConfig } from '../zksync/chainConfig.js' export const zkSync = /*#__PURE__*/ defineChain({ ...chainConfig, id: 324, name: 'zkSync Era', network: 'zksync-era', nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH', }, rpcUrls: { default: { http: ['https://mainnet.era.zksync.io'], webSocket: ['wss://mainnet.era.zksync.io/ws'], }, }, blockExplorers: { default: { name: 'zkExplorer', url: 'https://explorer.zksync.io', }, }, contracts: { multicall3: { address: '0xF9cda624FBC7e059355ce98a31693d299FACd963', }, }, })