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 Lisk network logos #29762

Merged
merged 2 commits into from
Jan 16, 2025
Merged
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
5 changes: 5 additions & 0 deletions app/images/lisk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/images/lisk_sepolia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ export const CHAIN_IDS = {
B3_TESTNET: '0x7c9',
GRAVITY_ALPHA_MAINNET: '0x659',
GRAVITY_ALPHA_TESTNET_SEPOLIA: '0x34c1',
LISK: '0x46f',
LISK_SEPOLIA: '0x106a',
INK_SEPOLIA: '0xba5eD',
INK: '0xdef1',
} as const;
Expand Down Expand Up @@ -284,6 +286,8 @@ export const SCROLL_SEPOLIA_DISPLAY_NAME = 'Scroll Sepolia';
export const OP_BNB_DISPLAY_NAME = 'opBNB';
export const BERACHAIN_DISPLAY_NAME = 'Berachain Artio';
export const METACHAIN_ONE_DISPLAY_NAME = 'Metachain One Mainnet';
export const LISK_DISPLAY_NAME = 'Lisk';
export const LISK_SEPOLIA_DISPLAY_NAME = 'Lisk Sepolia';
export const INK_SEPOLIA_DISPLAY_NAME = 'Ink Sepolia';
export const INK_DISPLAY_NAME = 'Ink Mainnet';
export const SONEIUM_DISPLAY_NAME = 'Soneium Mainnet';
Expand Down Expand Up @@ -408,6 +412,7 @@ const CHAINLIST_CURRENCY_SYMBOLS_MAP = {
ACALA_NETWORK: 'ACA',
IOTEX_MAINNET: 'IOTX',
APE: 'APE',
LISK: 'ETH',
SONEIUM_MAINNET: 'ETH',
SONEIUM_TESTNET: 'ETH',
} as const;
Expand Down Expand Up @@ -493,6 +498,8 @@ export const B3_IMAGE_URL = './images/b3.svg';
export const APE_IMAGE_URL = './images/ape.svg';
export const GRAVITY_ALPHA_MAINNET_IMAGE_URL = './images/gravity.svg';
export const GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL = './images/gravity.svg';
export const LISK_IMAGE_URL = './images/lisk.svg';
export const LISK_SEPOLIA_IMAGE_URL = './images/lisk_sepolia.svg';
export const INK_SEPOLIA_IMAGE_URL = './images/ink-sepolia.svg';
export const INK_IMAGE_URL = './images/ink.svg';
export const SONEIUM_IMAGE_URL = './images/soneium.svg';
Expand Down Expand Up @@ -606,6 +613,8 @@ export const NETWORK_TO_NAME_MAP = {
[CHAIN_IDS.ZKSYNC_ERA]: ZK_SYNC_ERA_DISPLAY_NAME,
[CHAIN_IDS.BERACHAIN]: BERACHAIN_DISPLAY_NAME,
[CHAIN_IDS.METACHAIN_ONE]: METACHAIN_ONE_DISPLAY_NAME,
[CHAIN_IDS.LISK]: LISK_DISPLAY_NAME,
[CHAIN_IDS.LISK_SEPOLIA]: LISK_SEPOLIA_DISPLAY_NAME,
} as const;

export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
Expand Down Expand Up @@ -844,6 +853,8 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = {
GRAVITY_ALPHA_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.GRAVITY_ALPHA_TESTNET_SEPOLIA]:
GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.LISK]: LISK_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.LISK_SEPOLIA]: LISK_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.INK_SEPOLIA]: INK_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.INK]: INK_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.SONEIUM_MAINNET]: SONEIUM_IMAGE_URL,
Expand Down
Loading