diff --git a/apps/web/src/config.ts b/apps/web/src/config.ts index 7d2dda2530..fea9a14e82 100644 --- a/apps/web/src/config.ts +++ b/apps/web/src/config.ts @@ -65,7 +65,14 @@ export const DISABLED_CHAIN_IDS = [ // NonStandardChainId.TRON, ] as const -export const NEW_CHAIN_IDS = [ChainId.APE] as const +export const NEW_CHAIN_IDS = [ + ChainId.APE, + ChainId.MANTA, + ChainId.MODE, + ChainId.TAIKO, + ChainId.ZKLINK, + NonStandardChainId.TRON, +] as const const PREFERRED_CHAINID_ORDER = [ ...NEW_CHAIN_IDS, @@ -84,6 +91,7 @@ const PREFERRED_CHAINID_ORDER = [ ChainId.MANTLE, ChainId.CORE, ChainId.CRONOS, + ChainId.MODE, ChainId.GNOSIS, ChainId.ROOTSTOCK, ChainId.KAVA, @@ -93,9 +101,12 @@ const PREFERRED_CHAINID_ORDER = [ ChainId.FILECOIN, ChainId.TELOS, ChainId.METIS, + ChainId.MANTA, + ChainId.ZKLINK, ChainId.POLYGON_ZKEVM, ChainId.MOONBEAM, ChainId.ZETACHAIN, + ChainId.TAIKO, ChainId.BOBA, ChainId.HARMONY, ChainId.ARBITRUM_NOVA, diff --git a/packages/ui/src/components/currency/Icon.tsx b/packages/ui/src/components/currency/Icon.tsx index 8b14eacd84..311da80458 100644 --- a/packages/ui/src/components/currency/Icon.tsx +++ b/packages/ui/src/components/currency/Icon.tsx @@ -87,6 +87,10 @@ const LOGO: Record = { [ChainId.BLAST]: EthereumLogo, [ChainId.ROOTSTOCK]: BitcoinLogo, [ChainId.MANTLE]: MntLogo, + [ChainId.MANTA]: EthereumLogo, + [ChainId.MODE]: EthereumLogo, + [ChainId.TAIKO]: EthereumLogo, + [ChainId.ZKLINK]: EthereumLogo, [ChainId.APE]: ApeLogo, } diff --git a/packages/ui/src/icons/SushiLiteIcon.tsx b/packages/ui/src/icons/SushiLiteIcon.tsx index b2dc93f12c..f3d7ac47d5 100644 --- a/packages/ui/src/icons/SushiLiteIcon.tsx +++ b/packages/ui/src/icons/SushiLiteIcon.tsx @@ -11,14 +11,14 @@ export const SushiLiteIcon: IconComponent = (props) => { xmlns="http://www.w3.org/2000/svg" > diff --git a/packages/ui/src/icons/network/circle/MantaCircle.tsx b/packages/ui/src/icons/network/circle/MantaCircle.tsx new file mode 100644 index 0000000000..91889a7ab8 --- /dev/null +++ b/packages/ui/src/icons/network/circle/MantaCircle.tsx @@ -0,0 +1,8 @@ +import * as React from 'react' + +import { NakedNetworkIconComponent } from '../../../types' +import { MantaNaked } from '../naked/MantaNaked' + +export const MantaCircle: NakedNetworkIconComponent = (props) => ( + +) diff --git a/packages/ui/src/icons/network/circle/ModeCircle.tsx b/packages/ui/src/icons/network/circle/ModeCircle.tsx new file mode 100644 index 0000000000..63c5739016 --- /dev/null +++ b/packages/ui/src/icons/network/circle/ModeCircle.tsx @@ -0,0 +1,11 @@ +import * as React from 'react' + +import { IconComponent } from '../../../types' +import { ModeNaked } from '../naked/ModeNaked' + +export const ModeCircle: IconComponent = (props) => ( + } + /> +) diff --git a/packages/ui/src/icons/network/circle/TaikoCircle.tsx b/packages/ui/src/icons/network/circle/TaikoCircle.tsx new file mode 100644 index 0000000000..478a6ae3dd --- /dev/null +++ b/packages/ui/src/icons/network/circle/TaikoCircle.tsx @@ -0,0 +1,11 @@ +import * as React from 'react' + +import { IconComponent } from '../../../types' +import { TaikoNaked } from '../naked/TaikoNaked' + +export const TaikoCircle: IconComponent = (props) => ( + } + /> +) diff --git a/packages/ui/src/icons/network/circle/ZKLinkCircle.tsx b/packages/ui/src/icons/network/circle/ZKLinkCircle.tsx new file mode 100644 index 0000000000..cde1668e5c --- /dev/null +++ b/packages/ui/src/icons/network/circle/ZKLinkCircle.tsx @@ -0,0 +1,11 @@ +import * as React from 'react' + +import { IconComponent } from '../../../types' +import { ZKLinkNaked } from '../naked/ZKLinkNaked' + +export const ZKLinkCircle: IconComponent = (props) => ( + } + /> +) diff --git a/packages/ui/src/icons/network/circle/index.tsx b/packages/ui/src/icons/network/circle/index.tsx index d20492ba0b..1aed6a0a44 100644 --- a/packages/ui/src/icons/network/circle/index.tsx +++ b/packages/ui/src/icons/network/circle/index.tsx @@ -26,8 +26,10 @@ import { HarmonyCircle } from './HarmonyCircle' import { HecoCircle } from './HecoCircle' import { KavaCircle } from './KavaCircle' import { LineaCircle } from './LineaCircle' +import { MantaCircle } from './MantaCircle' import { MantleCircle } from './MantleCircle' import { MetisCircle } from './MetisCircle' +import { ModeCircle } from './ModeCircle' import { MoonbeamCircle } from './MoonbeamCircle' import { MoonriverCircle } from './MoonriverCircle' import { OkexCircle } from './OkexCircle' @@ -38,9 +40,11 @@ import { PolygonZKCircle } from './PolygonZKCircle' import { RootstockCircle } from './RootstockCircle' import { ScrollCircle } from './ScrollCircle' import { SkaleCircle } from './SkaleCircle' +import { TaikoCircle } from './TaikoCircle' import { TelosCircle } from './TelosCircle' import { ThunderCoreCircle } from './ThunderCoreCircle' import { TronCircle } from './TronCircle' +import { ZKLinkCircle } from './ZKLinkCircle' import { ZKSyncCircle } from './ZKSyncCircle' import { ZetaChainCircle } from './ZetaChainCircle' @@ -69,8 +73,10 @@ export * from './HarmonyCircle' export * from './HecoCircle' export * from './KavaCircle' export * from './LineaCircle' +export * from './MantaCircle' export * from './MantleCircle' export * from './MetisCircle' +export * from './ModeCircle' export * from './MoonbeamCircle' export * from './MoonriverCircle' export * from './OkexCircle' @@ -81,9 +87,11 @@ export * from './PolygonZKCircle' export * from './RootstockCircle' export * from './ScrollCircle' export * from './SkaleCircle' +export * from './TaikoCircle' export * from './TelosCircle' export * from './ThunderCoreCircle' export * from './TronCircle' +export * from './ZKLinkCircle' export * from './ZKSyncCircle' export * from './ZetaChainCircle' @@ -129,6 +137,10 @@ export const NETWORK_CIRCLE_ICON: Partial< [ChainId.ROOTSTOCK]: RootstockCircle, [ChainId.CRONOS]: CronosCircle, [ChainId.MANTLE]: MantleCircle, + [ChainId.MANTA]: MantaCircle, + [ChainId.MODE]: ModeCircle, + [ChainId.TAIKO]: TaikoCircle, + [ChainId.ZKLINK]: ZKLinkCircle, [ChainId.APE]: ApeCircle, aptos: AptosCircle, tron: TronCircle, diff --git a/packages/ui/src/icons/network/naked/MantaNaked.tsx b/packages/ui/src/icons/network/naked/MantaNaked.tsx new file mode 100644 index 0000000000..4c81cb594e --- /dev/null +++ b/packages/ui/src/icons/network/naked/MantaNaked.tsx @@ -0,0 +1,38 @@ +import * as React from 'react' + +import { nanoid } from 'nanoid' +import { NakedNetworkIconComponent } from '../../../types' + +export const MantaNaked: NakedNetworkIconComponent = (props) => { + const id = React.useMemo(() => `manta-${nanoid()}`, []) + + return ( + + + + + + + + + + + ) +} diff --git a/packages/ui/src/icons/network/naked/ModeNaked.tsx b/packages/ui/src/icons/network/naked/ModeNaked.tsx new file mode 100644 index 0000000000..53d89ee278 --- /dev/null +++ b/packages/ui/src/icons/network/naked/ModeNaked.tsx @@ -0,0 +1,20 @@ +import React from 'react' + +import { NakedNetworkIconComponent } from '../../../types' + +export const ModeNaked: NakedNetworkIconComponent = ({ circle, ...props }) => { + return ( + + {circle ? circle : } + + + ) +} diff --git a/packages/ui/src/icons/network/naked/TaikoNaked.tsx b/packages/ui/src/icons/network/naked/TaikoNaked.tsx new file mode 100644 index 0000000000..a0e93538b9 --- /dev/null +++ b/packages/ui/src/icons/network/naked/TaikoNaked.tsx @@ -0,0 +1,16 @@ +import React from 'react' + +import { NakedNetworkIconComponent } from '../../../types' + +export const TaikoNaked: NakedNetworkIconComponent = ({ circle, ...props }) => { + return ( + + {circle ? circle : } + + + ) +} diff --git a/packages/ui/src/icons/network/naked/ZKLinkNaked.tsx b/packages/ui/src/icons/network/naked/ZKLinkNaked.tsx new file mode 100644 index 0000000000..e361c593cc --- /dev/null +++ b/packages/ui/src/icons/network/naked/ZKLinkNaked.tsx @@ -0,0 +1,30 @@ +import * as React from 'react' + +import { NakedNetworkIconComponent } from '../../../types' + +export const ZKLinkNaked: NakedNetworkIconComponent = ({ + circle, + ...props +}) => ( + + {circle ? circle : } + + + +) diff --git a/packages/ui/src/icons/network/naked/index.tsx b/packages/ui/src/icons/network/naked/index.tsx index 7c6a70f4e4..4ed351cca6 100644 --- a/packages/ui/src/icons/network/naked/index.tsx +++ b/packages/ui/src/icons/network/naked/index.tsx @@ -26,8 +26,10 @@ import { HarmonyNaked } from './HarmonyNaked' import { HecoNaked } from './HecoNaked' import { KavaNaked } from './KavaNaked' import { LineaNaked } from './LineaNaked' +import { MantaNaked } from './MantaNaked' import { MantleNaked } from './MantleNaked' import { MetisNaked } from './MetisNaked' +import { ModeNaked } from './ModeNaked' import { MoonbeamNaked } from './MoonbeamNaked' import { MoonriverNaked } from './MoonriverNaked' import { OkexNaked } from './OkexNaked' @@ -38,9 +40,11 @@ import { PolygonZKNaked } from './PolygonZKNaked' import { RootstockNaked } from './RootstockNaked' import { ScrollNaked } from './ScrollNaked' import { SkaleNaked } from './SkaleNaked' +import { TaikoNaked } from './TaikoNaked' import { TelosNaked } from './TelosNaked' import { ThunderCoreNaked } from './ThunderCoreNaked' import { TronNaked } from './TronNaked' +import { ZKLinkNaked } from './ZKLinkNaked' import { ZKSyncNaked } from './ZKSyncNaked' import { ZetaChainNaked } from './ZetaChainNaked' @@ -69,8 +73,10 @@ export * from './HarmonyNaked' export * from './HecoNaked' export * from './KavaNaked' export * from './LineaNaked' +export * from './MantaNaked' export * from './MantleNaked' export * from './MetisNaked' +export * from './ModeNaked' export * from './MoonbeamNaked' export * from './MoonriverNaked' export * from './OkexNaked' @@ -81,8 +87,10 @@ export * from './PolygonZKNaked' export * from './RootstockNaked' export * from './ScrollNaked' export * from './SkaleNaked' +export * from './TaikoNaked' export * from './TelosNaked' export * from './TronNaked' +export * from './ZKLinkNaked' export * from './ZKSyncNaked' export * from './ZetaChainNaked' @@ -128,6 +136,10 @@ export const NETWORK_NAKED_ICON: Partial< [ChainId.ROOTSTOCK]: RootstockNaked, [ChainId.CRONOS]: CronosNaked, [ChainId.MANTLE]: MantleNaked, + [ChainId.MANTA]: MantaNaked, + [ChainId.MODE]: ModeNaked, + [ChainId.TAIKO]: TaikoNaked, + [ChainId.ZKLINK]: ZKLinkNaked, [ChainId.APE]: ApeNaked, aptos: AptosNaked, tron: TronNaked,