/** * Watch Tower feature configuration * * @module features/watch-tower/types/WatchTowerConfig */ import type { Feature } from '../../../types/Feature'; import type { IFeatureConfig } from '../../../types/IFeatureModule'; import { Environment } from '../../../types/SDKConfig'; /** * Get the hardcoded service URL as a function of environment * * @param environment - SDK environment (mainnet or testnet) * @returns Service URL for the specified environment */ export function getWatchTowerServiceUrl(environment: Environment): string { return environment === Environment.MAINNET ? 'https://watchtower.orbis1.io' : 'https://watchtower-dev.orbis1.io'; } export interface WatchTowerConfig extends IFeatureConfig { name: Feature.WATCH_TOWER; enabled: boolean; apiKey: string; }