- 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>
40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
import { chainConfig } from '../../linea/chainConfig.js'
|
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
|
|
export const linea = /*#__PURE__*/ defineChain({
|
|
...chainConfig,
|
|
id: 59_144,
|
|
name: 'Linea Mainnet',
|
|
blockTime: 2000,
|
|
nativeCurrency: { name: 'Linea Ether', symbol: 'ETH', decimals: 18 },
|
|
rpcUrls: {
|
|
default: {
|
|
http: ['https://rpc.linea.build'],
|
|
webSocket: ['wss://rpc.linea.build'],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
default: {
|
|
name: 'Etherscan',
|
|
url: 'https://lineascan.build',
|
|
apiUrl: 'https://api.lineascan.build/api',
|
|
},
|
|
},
|
|
contracts: {
|
|
multicall3: {
|
|
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
blockCreated: 42,
|
|
},
|
|
ensRegistry: {
|
|
address: '0x50130b669B28C339991d8676FA73CF122a121267',
|
|
blockCreated: 6682888,
|
|
},
|
|
ensUniversalResolver: {
|
|
address: '0x4D41762915F83c76EcaF6776d9b08076aA32b492',
|
|
blockCreated: 22_222_151,
|
|
},
|
|
},
|
|
ensTlds: ['.linea.eth'],
|
|
testnet: false,
|
|
})
|