diff --git a/shared/constants/network.ts b/shared/constants/network.ts index 452f0584ffaa..4aff59658264 100644 --- a/shared/constants/network.ts +++ b/shared/constants/network.ts @@ -158,6 +158,8 @@ export const CHAIN_IDS = { CHZ: '0x15b38', NUMBERS: '0x290b', SEI: '0x531', + BERACHAIN: '0x138d5', + METACHAIN_ONE: '0x1b6e6', } as const; export const CHAINLIST_CHAIN_IDS_MAP = { @@ -259,6 +261,8 @@ export const MOONRIVER_DISPLAY_NAME = 'Moonriver'; export const SCROLL_DISPLAY_NAME = 'Scroll'; export const SCROLL_SEPOLIA_DISPLAY_NAME = 'Scroll Sepolia'; export const OP_BNB_DISPLAY_NAME = 'opBNB'; +export const BERACHAIN_DISPLAY_NAME = 'Berachain Artio'; +export const METACHAIN_ONE_DISPLAY_NAME = 'Metachain One Mainnet'; export const infuraProjectId = process.env.INFURA_PROJECT_ID; export const getRpcUrl = ({ @@ -549,6 +553,9 @@ export const NETWORK_TO_NAME_MAP = { [CHAIN_IDS.SCROLL_SEPOLIA]: SCROLL_SEPOLIA_DISPLAY_NAME, [CHAIN_IDS.SEPOLIA]: SEPOLIA_DISPLAY_NAME, [CHAIN_IDS.OPBNB]: OP_BNB_DISPLAY_NAME, + [CHAIN_IDS.ZKSYNC_ERA]: ZK_SYNC_ERA_DISPLAY_NAME, + [CHAIN_IDS.BERACHAIN]: BERACHAIN_DISPLAY_NAME, + [CHAIN_IDS.METACHAIN_ONE]: METACHAIN_ONE_DISPLAY_NAME, } as const; export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = { diff --git a/shared/constants/security-provider.ts b/shared/constants/security-provider.ts index 1c8dd6433fac..a53dd7caba78 100644 --- a/shared/constants/security-provider.ts +++ b/shared/constants/security-provider.ts @@ -100,6 +100,10 @@ export const SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS: Hex[] = [ CHAIN_IDS.OPTIMISM, CHAIN_IDS.POLYGON, CHAIN_IDS.SEPOLIA, + CHAIN_IDS.ZKSYNC_ERA, + CHAIN_IDS.SCROLL, + CHAIN_IDS.BERACHAIN, + CHAIN_IDS.METACHAIN_ONE, ]; export const SECURITY_PROVIDER_EXCLUDED_TRANSACTION_TYPES = [