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

49 lines
1.2 KiB
TypeScript

import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
const sourceId = 1 // Ethereum mainnet
export const redstone = /*#__PURE__*/ defineChain({
...chainConfig,
name: 'Redstone',
id: 690,
sourceId,
nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH' },
rpcUrls: {
default: {
http: ['https://rpc.redstonechain.com'],
webSocket: ['wss://rpc.redstonechain.com'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://explorer.redstone.xyz',
},
},
contracts: {
...chainConfig.contracts,
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
},
portal: {
[sourceId]: {
address: '0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae',
blockCreated: 19578329,
},
},
l2OutputOracle: {
[sourceId]: {
address: '0xa426A052f657AEEefc298b3B5c35a470e4739d69',
blockCreated: 19578337,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69',
blockCreated: 19578331,
},
},
},
})