Files
FrenoCorp/node_modules/viem/chains/definitions/megaethTestnet.ts
Michael Freno 7c684a42cc FRE-600: Fix code review blockers
- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 00:08:01 -04:00

38 lines
904 B
TypeScript

import { defineChain } from '../../utils/chain/defineChain.js'
export const megaethTestnet = /*#__PURE__*/ defineChain({
id: 6343,
blockTime: 1_000,
name: 'MegaETH Testnet',
nativeCurrency: {
name: 'MegaETH Testnet Ether',
symbol: 'ETH',
decimals: 18,
},
rpcUrls: {
default: {
http: ['https://carrot.megaeth.com/rpc'],
webSocket: ['wss://carrot.megaeth.com/ws'],
},
},
blockExplorers: {
default: {
name: 'Etherscan',
url: 'https://testnet-mega.etherscan.io',
apiUrl: 'https://api.etherscan.io/v2/api',
},
blockscout: {
name: 'Blockscout',
url: 'https://megaeth-testnet-v2.blockscout.com',
apiUrl: 'https://megaeth-testnet-v2.blockscout.com/api',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 0,
},
},
testnet: true,
})