- 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>
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
import { chainConfig } from '../../op-stack/chainConfig.js'
|
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
|
|
const sourceId = 11_155_111 // sepolia
|
|
|
|
export const unichainSepolia = /*#__PURE__*/ defineChain({
|
|
...chainConfig,
|
|
id: 1301,
|
|
name: 'Unichain Sepolia',
|
|
nativeCurrency: {
|
|
name: 'Ether',
|
|
symbol: 'ETH',
|
|
decimals: 18,
|
|
},
|
|
blockTime: 1_000,
|
|
rpcUrls: {
|
|
default: {
|
|
http: ['https://sepolia.unichain.org'],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
default: {
|
|
name: 'Uniscan',
|
|
url: 'https://sepolia.uniscan.xyz',
|
|
apiUrl: 'https://api-sepolia.uniscan.xyz/api',
|
|
},
|
|
},
|
|
contracts: {
|
|
...chainConfig.contracts,
|
|
multicall3: {
|
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
blockCreated: 0,
|
|
},
|
|
portal: {
|
|
[sourceId]: {
|
|
address: '0x0d83dab629f0e0F9d36c0Cbc89B69a489f0751bD',
|
|
},
|
|
},
|
|
l1StandardBridge: {
|
|
[sourceId]: {
|
|
address: '0xea58fcA6849d79EAd1f26608855c2D6407d54Ce2',
|
|
},
|
|
},
|
|
disputeGameFactory: {
|
|
[sourceId]: {
|
|
address: '0xeff73e5aa3B9AEC32c659Aa3E00444d20a84394b',
|
|
},
|
|
},
|
|
},
|
|
testnet: true,
|
|
sourceId,
|
|
})
|