UNPKG

viem

Version:

TypeScript Interface for Ethereum

61 lines 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.megaeth = void 0; const chainConfig_js_1 = require("../../op-stack/chainConfig.js"); const defineChain_js_1 = require("../../utils/chain/defineChain.js"); const sourceId = 1; exports.megaeth = (0, defineChain_js_1.defineChain)({ ...chainConfig_js_1.chainConfig, id: 4326, blockTime: 1_000, name: 'MegaETH', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18, }, rpcUrls: { default: { http: ['https://mainnet.megaeth.com/rpc'], webSocket: ['wss://mainnet.megaeth.com/ws'], }, }, blockExplorers: { default: { name: 'Etherscan', url: 'https://mega.etherscan.io', apiUrl: 'https://api.etherscan.io/v2/api', }, blockscout: { name: 'Blockscout', url: 'https://megaeth.blockscout.com', apiUrl: 'https://megaeth.blockscout.com/api', }, }, contracts: { ...chainConfig_js_1.chainConfig.contracts, disputeGameFactory: { [sourceId]: { address: '0x8546840adF796875cD9AAcc5B3B048f6B2c9D563', }, }, multicall3: { address: '0xcA11bde05977b3631167028862bE2a173976CA11', blockCreated: 0, }, portal: { [sourceId]: { address: '0x7f82f57F0Dd546519324392e408b01fcC7D709e8', blockCreated: 21644285, }, }, l1StandardBridge: { [sourceId]: { address: '0x0CA3A2FBC3D770b578223FBB6b062fa875a2eE75', blockCreated: 21644285, }, }, }, sourceId, }); //# sourceMappingURL=megaeth.js.map