Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
10 changes: 10 additions & 0 deletions app/images/injective-native.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions app/images/injective.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export const CHAIN_IDS = {
HEMI: '0xa867',
PLASMA: '0x2611',
LUKSO: '0x2a',
INJECTIVE: '0x6f0',
MONAD: '0x8f',
} as const;

Expand Down Expand Up @@ -366,6 +367,7 @@ export const KARURA_DISPLAY_NAME = 'Karura';
export const HEMI_DISPLAY_NAME = 'Hemi';
export const PLASMA_DISPLAY_NAME = 'Plasma';
export const LUKSO_DISPLAY_NAME = 'Lukso';
export const INJECTIVE_DISPLAY_NAME = 'Injective';

// If `network.ts` is being run in the Node.js environment, `infura-project-id.ts` will not be imported,
// so we need to look at process.env.INFURA_PROJECT_ID instead.
Expand Down Expand Up @@ -448,6 +450,7 @@ export const CURRENCY_SYMBOLS = {
HEMI: 'ETH',
PLASMA: 'XPL',
LUKSO: 'LYX',
INJECTIVE: 'INJ',
} as const;

// Non-EVM currency symbols
Expand Down Expand Up @@ -662,6 +665,8 @@ export const PLASMA_IMAGE_URL = './images/plasma.svg';
export const PLASMA_NATIVE_TOKEN_IMAGE_URL = './images/plasma-native.svg';
export const LUKSO_IMAGE_URL = './images/lukso.svg';
export const LUKSO_NATIVE_TOKEN_IMAGE_URL = './images/lukso-native.svg';
export const INJECTIVE_IMAGE_URL = './images/injective.svg';
export const INJECTIVE_NATIVE_TOKEN_IMAGE_URL = './images/injective-native.svg';

export const INFURA_PROVIDER_TYPES = [
NETWORK_TYPES.MAINNET,
Expand Down Expand Up @@ -821,6 +826,7 @@ export const NETWORK_TO_NAME_MAP = {
[CHAIN_IDS.HEMI]: HEMI_DISPLAY_NAME,
[CHAIN_IDS.PLASMA]: PLASMA_DISPLAY_NAME,
[CHAIN_IDS.LUKSO]: LUKSO_DISPLAY_NAME,
[CHAIN_IDS.INJECTIVE]: INJECTIVE_DISPLAY_NAME,
} as const;

export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
Expand Down Expand Up @@ -976,6 +982,7 @@ export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
[CHAIN_IDS.HEMI]: CURRENCY_SYMBOLS.HEMI,
[CHAIN_IDS.PLASMA]: CURRENCY_SYMBOLS.PLASMA,
[CHAIN_IDS.LUKSO]: CURRENCY_SYMBOLS.LUKSO,
[CHAIN_IDS.INJECTIVE]: CURRENCY_SYMBOLS.INJECTIVE,
} as const;

/**
Expand Down Expand Up @@ -1145,6 +1152,7 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP: Record<string, string> = {
[CHAIN_IDS.HEMI]: HEMI_IMAGE_URL,
[CHAIN_IDS.PLASMA]: PLASMA_IMAGE_URL,
[CHAIN_IDS.LUKSO]: LUKSO_IMAGE_URL,
[CHAIN_IDS.INJECTIVE]: INJECTIVE_IMAGE_URL,
} as const;

export const CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP = {
Expand Down Expand Up @@ -1225,6 +1233,7 @@ export const CHAIN_ID_TOKEN_IMAGE_MAP = {
[CHAIN_IDS.HEMI]: ETH_TOKEN_IMAGE_URL,
[CHAIN_IDS.PLASMA]: PLASMA_NATIVE_TOKEN_IMAGE_URL,
[CHAIN_IDS.LUKSO]: LUKSO_NATIVE_TOKEN_IMAGE_URL,
[CHAIN_IDS.INJECTIVE]: INJECTIVE_NATIVE_TOKEN_IMAGE_URL,
} as const;

/**
Expand Down
Loading