Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add IoTeX logo and update config #23744

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
269 changes: 269 additions & 0 deletions app/images/iotex.svg
vinnyhoward marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export const CHAINLIST_CHAIN_IDS_MAP = {
FLARE_MAINNET: '0xe',
FUSE_GOLD_MAINNET: '0x7a',
HAQQ_NETWORK: '0x2be3',
IOTEX_MAINNET: '0x1251',
KCC_MAINNET: '0x141',
KLAYTN_MAINNET_CYPRESS: '0x2019',
KROMA_MAINNET: '0xff',
Expand Down Expand Up @@ -362,6 +363,7 @@ const CHAINLIST_CURRENCY_SYMBOLS_MAP = {
OASYS_MAINNET: 'OAS',
HUOBI_ECO_CHAIN_MAINNET: 'HT',
ACALA_NETWORK: 'ACA',
IOTEX_MAINNET: 'IOTX',
} as const;

export const CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION = {
Expand Down Expand Up @@ -405,6 +407,7 @@ export const EVMOS_IMAGE_URL = './images/evmos.svg';
export const FLARE_MAINNET_IMAGE_URL = './images/flare-mainnet.svg';
export const FUSE_GOLD_MAINNET_IMAGE_URL = './images/fuse-mainnet.jpg';
export const HAQQ_NETWORK_IMAGE_URL = './images/haqq.svg';
export const IOTEX_MAINNET_IMAGE_URL = './images/iotex.svg';
export const KCC_MAINNET_IMAGE_URL = './images/kcc-mainnet.svg';
export const KLAYTN_MAINNET_IMAGE_URL = './images/klaytn.svg';
export const KROMA_MAINNET_IMAGE_URL = './images/kroma.svg';
Expand Down Expand Up @@ -658,6 +661,8 @@ export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
CHAINLIST_CURRENCY_SYMBOLS_MAP.HUOBI_ECO_CHAIN_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.ACALA_NETWORK]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.ACALA_NETWORK,
[CHAINLIST_CHAIN_IDS_MAP.IOTEX_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.IOTEX_MAINNET,
} as const;

/**
Expand Down Expand Up @@ -735,6 +740,7 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = {
[CHAINLIST_CHAIN_IDS_MAP.FLARE_MAINNET]: FLARE_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.FUSE_GOLD_MAINNET]: FUSE_GOLD_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.HAQQ_NETWORK]: HAQQ_NETWORK_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.IOTEX_MAINNET]: IOTEX_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.KCC_MAINNET]: KCC_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.KLAYTN_MAINNET_CYPRESS]: KLAYTN_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.KROMA_MAINNET]: KROMA_MAINNET_IMAGE_URL,
Expand Down
Loading