Skip to content

Commit

Permalink
feat: Add Oasis Sapphire Mainnet and Testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
aefhm committed Oct 29, 2024
1 parent 7df5cef commit 760b99c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/images/oasis.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 @@ -193,6 +193,8 @@ export const CHAINLIST_CHAIN_IDS_MAP = {
NEAR_AURORA_MAINNET: '0x4e454152',
NEBULA_MAINNET: '0x585eb4b1',
OASYS_MAINNET: '0xf8',
OASIS_SAPPHIRE_MAINNET: '0x23294',
OASIS_SAPPHIRE_TESTNET: '0x23295',
OKXCHAIN_MAINNET: '0x42',
PGN_PUBLIC_GOODS_NETWORK: '0x1a8',
PULSECHAIN_MAINNET: '0x171',
Expand Down Expand Up @@ -369,6 +371,8 @@ const CHAINLIST_CURRENCY_SYMBOLS_MAP = {
TELOS_EVM_MAINNET: 'TLOS',
TENET: 'TENET',
DOGECHAIN_MAINNET: 'DOGE',
OASIS_SAPPHIRE_MAINNET: 'ROSE',
OASIS_SAPPHIRE_TESTNET: 'ROSE',
OASYS_MAINNET: 'OAS',
HUOBI_ECO_CHAIN_MAINNET: 'HT',
ACALA_NETWORK: 'ACA',
Expand Down Expand Up @@ -433,6 +437,7 @@ export const MOONRIVER_TOKEN_IMAGE_URL = './images/moonriver-token.svg';
export const NEAR_AURORA_MAINNET_IMAGE_URL = './images/near-aurora.svg';
export const NEBULA_MAINNET_IMAGE_URL = './images/nebula.svg';
export const OASYS_MAINNET_IMAGE_URL = './images/oasys.svg';
export const OASIS_SAPPHIRE_MAINNET_IMAGE_URL = './images/oasis.svg';
export const OKXCHAIN_MAINNET_IMAGE_URL = './images/okx.svg';
export const PGN_MAINNET_IMAGE_URL = './images/pgn.svg';
export const ZKEVM_MAINNET_IMAGE_URL = './images/polygon-zkevm.svg';
Expand Down Expand Up @@ -675,6 +680,10 @@ export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
CHAINLIST_CURRENCY_SYMBOLS_MAP.DOGECHAIN_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.OASYS_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.OASYS_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.OASIS_SAPPHIRE_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.OASIS_SAPPHIRE_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.OASIS_SAPPHIRE_TESTNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.OASIS_SAPPHIRE_TESTNET,
[CHAINLIST_CHAIN_IDS_MAP.HUOBI_ECO_CHAIN_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.HUOBI_ECO_CHAIN_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.ACALA_NETWORK]:
Expand Down Expand Up @@ -772,6 +781,8 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = {
[CHAINLIST_CHAIN_IDS_MAP.NEAR_AURORA_MAINNET]: NEAR_AURORA_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.NEBULA_MAINNET]: NEBULA_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.OASYS_MAINNET]: OASYS_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.OASIS_SAPPHIRE_MAINNET]: OASIS_SAPPHIRE_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.OASIS_SAPPHIRE_TESTNET]: OASIS_SAPPHIRE_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.OKXCHAIN_MAINNET]: OKXCHAIN_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.PGN_PUBLIC_GOODS_NETWORK]: PGN_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.POLYGON_ZKEVM]: ZKEVM_MAINNET_IMAGE_URL,
Expand Down

0 comments on commit 760b99c

Please sign in to comment.