UNPKG

viem

Version:

TypeScript Interface for Ethereum

33 lines (31 loc) 798 B
import { defineChain } from '../../utils/chain/defineChain.js' export const mainnet = /*#__PURE__*/ defineChain({ id: 1, name: 'Ethereum', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, rpcUrls: { default: { http: ['https://eth.merkle.io'], }, }, blockExplorers: { default: { name: 'Etherscan', url: 'https://etherscan.io', apiUrl: 'https://api.etherscan.io/api', }, }, contracts: { ensRegistry: { address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', }, ensUniversalResolver: { address: '0xce01f8eee7E479C928F8919abD53E553a36CeF67', blockCreated: 19_258_213, }, multicall3: { address: '0xca11bde05977b3631167028862be2a173976ca11', blockCreated: 14_353_601, }, }, })