- 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 { formatters } from '../../op-stack/formatters.js'
|
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
|
|
const sourceId = 11_155_111 // sepolia
|
|
|
|
export const pgnTestnet = /*#__PURE__*/ defineChain({
|
|
id: 58008,
|
|
network: 'pgn-testnet',
|
|
name: 'PGN',
|
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
rpcUrls: {
|
|
default: {
|
|
http: ['https://sepolia.publicgoods.network'],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
default: {
|
|
name: 'PGN Testnet Explorer',
|
|
url: 'https://explorer.sepolia.publicgoods.network',
|
|
apiUrl: 'https://explorer.sepolia.publicgoods.network/api',
|
|
},
|
|
},
|
|
contracts: {
|
|
l2OutputOracle: {
|
|
[sourceId]: {
|
|
address: '0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe',
|
|
},
|
|
},
|
|
portal: {
|
|
[sourceId]: {
|
|
address: '0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179',
|
|
},
|
|
},
|
|
l1StandardBridge: {
|
|
[sourceId]: {
|
|
address: '0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3',
|
|
},
|
|
},
|
|
multicall3: {
|
|
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
blockCreated: 3754925,
|
|
},
|
|
},
|
|
formatters,
|
|
sourceId,
|
|
testnet: true,
|
|
})
|