diff --git a/apps/developer-hub/src/components/EntropyTable/entropy-api-data-fetcher.tsx b/apps/developer-hub/src/components/EntropyTable/entropy-api-data-fetcher.tsx index d4a9cd5a83..3a794afc23 100644 --- a/apps/developer-hub/src/components/EntropyTable/entropy-api-data-fetcher.tsx +++ b/apps/developer-hub/src/components/EntropyTable/entropy-api-data-fetcher.tsx @@ -54,7 +54,7 @@ const apiChainConfigToEntrySchema = ApiChainConfigSchema.transform((chain) => { const entropyDeploymentsSchema = z.array(apiChainConfigToEntrySchema); -const HIDDEN_CHAINS = new Set(["taiko"]); +const HIDDEN_CHAINS = new Set(["swellchain", "swellchain_testnet", "taiko"]); export async function fetchEntropyDeployments( url: string, diff --git a/apps/developer-hub/src/components/EvmContractsStatusTable/index.tsx b/apps/developer-hub/src/components/EvmContractsStatusTable/index.tsx index d16b971e22..73f8f1edce 100644 --- a/apps/developer-hub/src/components/EvmContractsStatusTable/index.tsx +++ b/apps/developer-hub/src/components/EvmContractsStatusTable/index.tsx @@ -27,6 +27,10 @@ type ChainStatus = { const HIDDEN_CHAIN_IDS = new Set([ "injective_inevm", "injective_inevm_testnet", + // Swell has been sunset; keep contract-manager records for internal history, + // but do not advertise it in the public docs. + "swellchain", + "swellchain_testnet", ]); const CHAIN_REGISTRY_URL = "https://chainid.network/chains.json"; const CHAIN_REGISTRY_REVALIDATE_SECONDS = 60 * 60 * 24; diff --git a/apps/developer-hub/src/components/LazerTable/index.tsx b/apps/developer-hub/src/components/LazerTable/index.tsx index 2248312cc2..6cf5d65c5f 100644 --- a/apps/developer-hub/src/components/LazerTable/index.tsx +++ b/apps/developer-hub/src/components/LazerTable/index.tsx @@ -26,6 +26,8 @@ const HIDDEN_CHAIN_IDS = new Set([ "ethereal_devnet", "polynomial", "polynomial_testnet", + "swellchain", + "swellchain_testnet", ]); // Community-maintained EVM chain registry (https://github.com/ethereum-lists/chains). diff --git a/apps/developer-hub/src/components/MigrationContractsTable/index.tsx b/apps/developer-hub/src/components/MigrationContractsTable/index.tsx index 23a8473d09..847af27852 100644 --- a/apps/developer-hub/src/components/MigrationContractsTable/index.tsx +++ b/apps/developer-hub/src/components/MigrationContractsTable/index.tsx @@ -20,7 +20,9 @@ type MigrationDeployment = { explorer?: string; }; -const HIDDEN_CHAIN_IDS = new Set(); +// Chains with contract-manager records that should not be advertised in the +// public docs. +const HIDDEN_CHAIN_IDS = new Set(["swellchain", "swellchain_testnet"]); const CHAIN_REGISTRY_URL = "https://chainid.network/chains.json"; const CHAIN_REGISTRY_REVALIDATE_SECONDS = 60 * 60 * 24;