From d6efa7f9a465e7c46e289db24d245df1186617d1 Mon Sep 17 00:00:00 2001 From: Nicholas Gambino Date: Thu, 15 Aug 2024 19:00:09 -0700 Subject: [PATCH] Add Near Icon --- app/images/near.svg | 4 ++++ shared/constants/network.ts | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 app/images/near.svg diff --git a/app/images/near.svg b/app/images/near.svg new file mode 100644 index 000000000000..215c3ba06135 --- /dev/null +++ b/app/images/near.svg @@ -0,0 +1,4 @@ + + + + diff --git a/shared/constants/network.ts b/shared/constants/network.ts index 6f9de90f80d2..bc43fb418f33 100644 --- a/shared/constants/network.ts +++ b/shared/constants/network.ts @@ -144,6 +144,8 @@ export const CHAIN_IDS = { SEI: '0x531', BERACHAIN: '0x138d5', METACHAIN_ONE: '0x1b6e6', + NEAR: '0x18d', + NEAR_TESTNET: '0x18e', } as const; export const CHAINLIST_CHAIN_IDS_MAP = { @@ -433,6 +435,7 @@ export const SCROLL_IMAGE_URL = './images/scroll.svg'; export const NUMBERS_MAINNET_IMAGE_URL = './images/numbers-mainnet.svg'; export const NUMBERS_TOKEN_IMAGE_URL = './images/numbers-token.png'; export const SEI_IMAGE_URL = './images/sei.svg'; +export const NEAR_IMAGE_URL = './images/near.svg'; export const INFURA_PROVIDER_TYPES = [ NETWORK_TYPES.MAINNET, @@ -709,6 +712,8 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = { [CHAIN_IDS.PALM]: PALM_TOKEN_IMAGE_URL, [CHAIN_IDS.CELO]: CELO_TOKEN_IMAGE_URL, [CHAIN_IDS.GNOSIS]: GNOSIS_TOKEN_IMAGE_URL, + [CHAIN_IDS.NEAR]: NEAR_IMAGE_URL, + [CHAIN_IDS.NEAR_TESTNET]: NEAR_IMAGE_URL, [CHAINLIST_CHAIN_IDS_MAP.ACALA_NETWORK]: ACALA_TOKEN_IMAGE_URL, [CHAINLIST_CHAIN_IDS_MAP.ARBITRUM_NOVA]: ARBITRUM_NOVA_IMAGE_URL, [CHAINLIST_CHAIN_IDS_MAP.ASTAR]: ASTAR_IMAGE_URL, @@ -786,6 +791,8 @@ export const CHAIN_ID_TOKEN_IMAGE_MAP = { [CHAIN_IDS.SCROLL_SEPOLIA]: SCROLL_IMAGE_URL, [CHAIN_IDS.NUMBERS]: NUMBERS_TOKEN_IMAGE_URL, [CHAIN_IDS.SEI]: SEI_IMAGE_URL, + [CHAIN_IDS.NEAR]: NEAR_IMAGE_URL, + [CHAIN_IDS.NEAR_TESTNET]: NEAR_IMAGE_URL, } as const; export const INFURA_BLOCKED_KEY = 'countryBlocked';