Files
FrenoCorp/node_modules/viem/chains/definitions/swellchainTestnet.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

30 lines
801 B
TypeScript

import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
export const swellchainTestnet = /*#__PURE__*/ defineChain({
...chainConfig,
id: 1924,
name: 'Swellchain Testnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://swell-testnet.alt.technology'],
},
},
blockExplorers: {
default: {
name: 'Swellchain Testnet Explorer',
url: 'https://swell-testnet-explorer.alt.technology',
apiUrl: 'https://swell-testnet-explorer.alt.technology/api',
},
},
contracts: {
...chainConfig.contracts,
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 1,
},
},
testnet: true,
})