diff --git a/app/utils/chains/configs.ts b/app/utils/chains/configs.ts index 221a493..946e11a 100644 --- a/app/utils/chains/configs.ts +++ b/app/utils/chains/configs.ts @@ -4,18 +4,12 @@ import { OptimismIcon, BaseIcon, MoltenIcon } from './icons'; export type CHAIN = 'optimism' | 'base' | 'molten'; let opDispatcher = process.env.DISPATCHER_ADDRESS_OPTIMISM!; -let opDispatcherSimClient = process.env.DISPATCHER_ADDRESS_OPTIMISM_SIMCLIENT!; let baseDispatcher = process.env.DISPATCHER_ADDRESS_BASE!; -let baseDispatcherSimClient = process.env.DISPATCHER_ADDRESS_BASE_SIMCLIENT!; let moltenDispatcher = process.env.DISPATCHER_ADDRESS_MOLTEN!; -let moltenDispatcherSimClient = process.env.DISPATCHER_ADDRESS_MOLTEN_SIMCLIENT!; let opClientName = process.env.OPTIMISM_CLIENT_NAME!; -let opSimClientName = process.env.OPTIMISM_CLIENT_SIMCLIENT_NAME!; let baseClientName = process.env.BASE_CLIENT_NAME!; -let baseSimClientName = process.env.BASE_CLIENT_SIMCLIENT_NAME!; let moltenClientName = process.env.MOLTEN_CLIENT_NAME!; -let moltenSimClientName = process.env.MOLTEN_CLIENT_SIMCLIENT_NAME!; let optimismRPC = process.env.OPTIMISM_RPC || 'https://opt-sepolia.g.alchemy.com/v2/jKvLhhXvtnWdNeZrKst0demxnwJcYH1o'; let baseRPC = process.env.BASE_RPC || 'https://base-sepolia.g.alchemy.com/v2/776dC6qT-NTtupdnxlUJuXGbUIKWWhLe'; @@ -29,8 +23,8 @@ export const CHAIN_CONFIGS: { display: 'Optimism', rpc: optimismRPC, txUrl: 'https://optimism-sepolia.blockscout.com/', - dispatchers: [opDispatcher, opDispatcherSimClient], - clients: [opClientName, opSimClientName], + dispatchers: [opDispatcher], + clients: [opClientName], blockTime: 2, icon: OptimismIcon, }, @@ -39,8 +33,8 @@ export const CHAIN_CONFIGS: { display: 'Base', rpc: baseRPC, txUrl: 'https://base-sepolia.blockscout.com/', - dispatchers: [baseDispatcher, baseDispatcherSimClient], - clients: [baseClientName, baseSimClientName], + dispatchers: [baseDispatcher], + clients: [baseClientName], blockTime: 2, icon: BaseIcon, }, @@ -49,8 +43,8 @@ export const CHAIN_CONFIGS: { display: 'Molten', rpc: moltenRPC, txUrl: 'https://unidex-sepolia.explorer.caldera.xyz/', - dispatchers: [moltenDispatcher, moltenDispatcherSimClient], - clients: [moltenClientName, moltenSimClientName], + dispatchers: [moltenDispatcher], + clients: [moltenClientName], blockTime: 2, icon: MoltenIcon, },