- 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>
48 lines
1.1 KiB
TypeScript
48 lines
1.1 KiB
TypeScript
import { chainConfig } from '../../op-stack/chainConfig.js'
|
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
|
|
const sourceId = 1 // mainnet
|
|
|
|
export const unichain = /*#__PURE__*/ defineChain({
|
|
...chainConfig,
|
|
id: 130,
|
|
name: 'Unichain',
|
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
blockTime: 1_000,
|
|
rpcUrls: {
|
|
default: {
|
|
http: ['https://mainnet.unichain.org/'],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
default: {
|
|
name: 'Uniscan',
|
|
url: 'https://uniscan.xyz',
|
|
apiUrl: 'https://api.uniscan.xyz/api',
|
|
},
|
|
},
|
|
contracts: {
|
|
...chainConfig.contracts,
|
|
multicall3: {
|
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
blockCreated: 0,
|
|
},
|
|
disputeGameFactory: {
|
|
[sourceId]: {
|
|
address: '0x2F12d621a16e2d3285929C9996f478508951dFe4',
|
|
},
|
|
},
|
|
portal: {
|
|
[sourceId]: {
|
|
address: '0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2',
|
|
},
|
|
},
|
|
l1StandardBridge: {
|
|
[sourceId]: {
|
|
address: '0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA',
|
|
},
|
|
},
|
|
},
|
|
sourceId,
|
|
})
|