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

25 lines
681 B
TypeScript

import { defineChain } from '../../utils/chain/defineChain.js'
import { chainConfig } from '../../zksync/chainConfig.js'
export const battlechainTestnet = /*#__PURE__*/ defineChain({
...chainConfig,
id: 627,
name: 'BattleChain Testnet',
network: 'battlechain-testnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://testnet.battlechain.com'],
},
},
blockExplorers: {
default: {
name: 'BattleChain Explorer',
url: 'https://explorer.testnet.battlechain.com',
blockExplorerApi:
'https://block-explorer-api.testnet.battlechain.com/api',
},
},
testnet: true,
})