diff --git a/src/components/Faucets.tsx b/src/components/Faucets.tsx index b4670d35dc..af9e49d396 100644 --- a/src/components/Faucets.tsx +++ b/src/components/Faucets.tsx @@ -88,13 +88,14 @@ const Faucets = () => { function: () => {}, link: 'https://cyber-testnet.testnets.rollbridge.app/', }, - { - id: '84532', - value: 'Base Sepolia', - title: 'Base Sepolia Faucet', - function: () => {}, - link: 'https://www.alchemy.com/faucets/base-sepolia', - }, + // comment base + // { + // id: '84532', + // value: 'Base Sepolia', + // title: 'Base Sepolia Faucet', + // function: () => {}, + // link: 'https://www.alchemy.com/faucets/base-sepolia', + // }, ]; // render diff --git a/src/components/VerifyAlias.tsx b/src/components/VerifyAlias.tsx index 4c5dfd5dca..c84d367893 100644 --- a/src/components/VerifyAlias.tsx +++ b/src/components/VerifyAlias.tsx @@ -69,10 +69,11 @@ const VerifyAlias = ({ aliasEthAccount, setAliasVerified }) => { label: 'Cyber ETH', url: 'https://cyber-testnet.testnets.rollbridge.app/', }, - 84532: { - label: 'Base Sepolia', - url: 'https://www.alchemy.com/faucets/base-sepolia', - }, + // comment base + // 84532: { + // label: 'Base Sepolia', + // url: 'https://www.alchemy.com/faucets/base-sepolia', + // }, }; const checkAlias = async () => { diff --git a/src/config/config-dev.js b/src/config/config-dev.js index dd655d20c2..bd301d5395 100644 --- a/src/config/config-dev.js +++ b/src/config/config-dev.js @@ -32,7 +32,8 @@ export const config = { 421614, // arbitrum testnet 123, // fuse testnet 111557560, // Cyber testnet - 84532, //base sepolia + // comment base + // 84532, //base sepolia ], /** @@ -183,11 +184,12 @@ export const CHAIN_DETAILS = { rpcUrl: 'https://cyber-testnet.alt.technology/', commAddress: '0x9cb3bd7550B5c92baA056Fc0F08132f49508145F', }, - 84532: { - label: 'Base Sepolia', - name: 'BASE_TESTNET', - chainid: 84532, - rpcUrl: 'https://sepolia.base.org/', - commAddress: '0x9cb3bd7550B5c92baA056Fc0F08132f49508145F', - }, + // comment base + // 84532: { + // label: 'Base Sepolia', + // name: 'BASE_TESTNET', + // chainid: 84532, + // rpcUrl: 'https://sepolia.base.org/', + // commAddress: '0x9cb3bd7550B5c92baA056Fc0F08132f49508145F', + // }, }; diff --git a/src/config/config-prod.js b/src/config/config-prod.js index ef744b5776..3f88ffd085 100644 --- a/src/config/config-prod.js +++ b/src/config/config-prod.js @@ -31,7 +31,8 @@ export const config = { 1101, // polygon zkevm mainnet 122, // fuse mainnet 7560, // Cyber mainnet - 8453, //base mainnet + // comment base + // 8453, //base ma innet ], /** @@ -176,11 +177,12 @@ export const CHAIN_DETAILS = { rpcUrl: 'https://cyber.alt.technology/', commAddress: '0xb3971BCef2D791bc4027BbfedFb47319A4AAaaAa', }, - 8453: { - label: 'Base Mainnet', - name: 'BASE_MAINNET', - chainid: 8453, - rpcUrl: 'https://mainnet.base.org/', - commAddress: '0xb3971BCef2D791bc4027BbfedFb47319A4AAaaAa', - }, + // comment base + // 8453: { + // label: 'Base Mainnet', + // name: 'BASE_MAINNET', + // chainid: 8453, + // rpcUrl: 'https://mainnet.base.org/', + // commAddress: '0xb3971BCef2D791bc4027BbfedFb47319A4AAaaAa', + // }, }; diff --git a/src/config/config-staging.js b/src/config/config-staging.js index 2cc4e92893..8047c3a67e 100644 --- a/src/config/config-staging.js +++ b/src/config/config-staging.js @@ -33,7 +33,8 @@ export const config = { 421614, // arbitrum testnet 123, // fuse testnet 111557560, // Cyber testnet - 84532, //base sepolia + // comment base + // 84532, //base sepolia ], /** @@ -180,11 +181,12 @@ export const CHAIN_DETAILS = { rpcUrl: 'https://cyber-testnet.alt.technology/', commAddress: '0x6e489B7af21cEb969f49A90E481274966ce9D74d', }, - 84532: { - label: 'Base Sepolia', - name: 'BASE_TESTNET', - chainid: 84532, - rpcUrl: 'https://sepolia.base.org/', - commAddress: '0x6e489B7af21cEb969f49A90E481274966ce9D74d', - }, + // comment base + // 84532: { + // label: 'Base Sepolia', + // name: 'BASE_TESTNET', + // chainid: 84532, + // rpcUrl: 'https://sepolia.base.org/', + // commAddress: '0x6e489B7af21cEb969f49A90E481274966ce9D74d', + // }, }; diff --git a/src/connectors/chains.ts b/src/connectors/chains.ts index 7f55ab2b43..fa0b0ba049 100644 --- a/src/connectors/chains.ts +++ b/src/connectors/chains.ts @@ -130,12 +130,13 @@ export const MAINNET_CHAINS: ChainConfig = { nativeCurrency: ETH, blockExplorerUrls: ['https://cyberscan.co/'], }, - 8453: { - name: 'Base Mainnet', - urls: ['https://mainnet.base.org/'], - nativeCurrency: ETH, - blockExplorerUrls: ['https://basescan.org/'], - }, + // comment base + // 8453: { + // name: 'Base Mainnet', + // urls: ['https://mainnet.base.org/'], + // nativeCurrency: ETH, + // blockExplorerUrls: ['https://basescan.org/'], + // }, }; export const TESTNET_CHAINS: ChainConfig = { @@ -198,12 +199,13 @@ export const TESTNET_CHAINS: ChainConfig = { nativeCurrency: ETH, blockExplorerUrls: ['https://testnet.cyberscan.co/'], }, - 84532: { - name: 'Base Sepolia', - urls: ['https://sepolia.base.org/'], - nativeCurrency: ETH, - blockExplorerUrls: ['https://sepolia-explorer.base.org/'], - }, + // comment base + // 84532: { + // name: 'Base Sepolia', + // urls: ['https://sepolia.base.org/'], + // nativeCurrency: ETH, + // blockExplorerUrls: ['https://sepolia-explorer.base.org/'], + // }, }; export const CHAINS: ChainConfig = { diff --git a/src/helpers/CaipHelper.ts b/src/helpers/CaipHelper.ts index 2762d75abf..3bbf5d1f27 100644 --- a/src/helpers/CaipHelper.ts +++ b/src/helpers/CaipHelper.ts @@ -2,9 +2,12 @@ import { appConfig } from '../config/index.js'; export const Eip155EnabledIds: Array = [ - 1, 56, 137, 10, 1101, 42161, 11155111, 97, 80002, 11155420, 2442, 421614, 122, 123, 111557560, 7560, 84532, 8453, + 1, 56, 137, 10, 1101, 42161, 11155111, 97, 80002, 11155420, 2442, 421614, 122, 123, 111557560, 7560, ]; +// comment base +// 84532, 8453, + // Types type CAIPProps = { chainId: number; diff --git a/src/helpers/UtilityHelper.ts b/src/helpers/UtilityHelper.ts index 246356be92..2eed133f32 100644 --- a/src/helpers/UtilityHelper.ts +++ b/src/helpers/UtilityHelper.ts @@ -19,8 +19,7 @@ const UtilityHelper = { chainId === 10 || chainId === 42161 || chainId === 122 || - chainId === 7560 || - chainId === 8453 + chainId === 7560 ) { return true; } @@ -63,8 +62,9 @@ export const MaskedAliasChannels: { 123: {}, 111557560: {}, 7560: {}, - 8453: {}, - 84532: {}, + // comment base + // 8453: {}, + // 84532: {}, }; export const findObject = (data: any, parentArray: any[], property: string): boolean => { @@ -129,8 +129,9 @@ export const networkName = { 123: 'Fuse Testnet', 111557560: 'Cyber Testnet', 7560: 'Cyber Mainnet', - 8453: 'Base Mainnet', - 84532: 'Base Sepolia', + // comment base + // 8453: 'Base Mainnet', + // 84532: 'Base Sepolia', }; export const chainNameBackendStandard = { @@ -156,8 +157,9 @@ export const aliasChainIdToChainName = { 123: 'FUSE', 111557560: 'CYBERCONNECT', 7560: 'CYBERCONNECT', - 8453: 'BASE', - 84532: 'BASE', + // comment base + // 8453: 'BASE', + // 84532: 'BASE', }; export const aliasChainIdsMapping = { @@ -266,20 +268,21 @@ export const NETWORK_DETAILS = { rpcUrls: ['https://cyber.alt.technology/'], blockExplorerUrls: [' https://.cyberscan.co/'], }, - BASE_TESTNET: { - chainId: utils.hexValue(84532), - chainName: 'Base Testnet', - nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 }, - rpcUrls: ['https://sepolia.base.org/'], - blockExplorerUrls: ['https://sepolia-explorer.base.org/'], - }, - BASE_MAINNET: { - chainId: utils.hexValue(8453), - chainName: 'Base Mainnet', - nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 }, - rpcUrls: ['https://mainnet.base.org/'], - blockExplorerUrls: ['https://basescan.org/'], - }, + // comment base + // BASE_TESTNET: { + // chainId: utils.hexValue(84532), + // chainName: 'Base Testnet', + // nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 }, + // rpcUrls: ['https://sepolia.base.org/'], + // blockExplorerUrls: ['https://sepolia-explorer.base.org/'], + // }, + // BASE_MAINNET: { + // chainId: utils.hexValue(8453), + // chainName: 'Base Mainnet', + // nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 }, + // rpcUrls: ['https://mainnet.base.org/'], + // blockExplorerUrls: ['https://basescan.org/'], + // }, }; export const CORE_CHAIN_ID: number = appConfig.coreContractChain; @@ -304,8 +307,9 @@ export const LOGO_FROM_CHAIN_ID: { 123: 'Fuse.svg', 111557560: 'Cyber.svg', 7560: 'Cyber.svg', - 8453: 'Base.svg', - 84532: 'Base.svg', + // comment base + // 8453: 'Base.svg', + // 84532: 'Base.svg', }; export type getAliasResponseType = { diff --git a/src/hooks/useInactiveListener.ts b/src/hooks/useInactiveListener.ts index d351042ca2..f6f7b110cc 100644 --- a/src/hooks/useInactiveListener.ts +++ b/src/hooks/useInactiveListener.ts @@ -16,9 +16,9 @@ export function useInactiveListener() { if (appConfig.coreContractChain === 42) return 'Unsupported Network, please connect to the Ethereum Kovan network or Polygon Amoy network'; else if (appConfig.coreContractChain === 11155111) - return 'Unsupported Network, please connect to the Ethereum Sepolia, Polygon Amoy, BNB testnet, Optimism Sepolia, Arbitrum Sepolia, Base Sepolia or Polygon zkEVM testnet'; + return 'Unsupported Network, please connect to the Ethereum Sepolia, Polygon Amoy, BNB testnet, Optimism Sepolia, Arbitrum Sepolia or Polygon zkEVM testnet'; else - return 'Unsupported Network, please connect to the Ethereum, Polygon, BNB, Optimism, Arbitrum, Base or Polygon zkEVM Mainnet'; + return 'Unsupported Network, please connect to the Ethereum, Polygon, BNB, Optimism, Arbitrum or Polygon zkEVM Mainnet'; }; useEffect(() => {