- 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>
29 lines
782 B
TypeScript
29 lines
782 B
TypeScript
import { chainConfig } from '../../op-stack/chainConfig.js'
|
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
|
|
export const dchainTestnet = /*#__PURE__*/ defineChain({
|
|
...chainConfig,
|
|
id: 2713017997578000,
|
|
name: 'Dchain Testnet',
|
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
rpcUrls: {
|
|
default: {
|
|
http: [
|
|
'https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io',
|
|
],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
default: {
|
|
name: 'Dchain Explorer',
|
|
url: 'https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io',
|
|
apiUrl:
|
|
'https://api-dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io/api',
|
|
},
|
|
},
|
|
contracts: {
|
|
...chainConfig.contracts,
|
|
},
|
|
testnet: true,
|
|
})
|