Skip to content

Commit

Permalink
feat: Add Oasis Sapphire icons
Browse files Browse the repository at this point in the history
  • Loading branch information
aefhm committed Dec 6, 2024
1 parent fcb68ad commit 65cab06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/images/image-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import LINEA_TESTNET from './linea-testnet-logo.png';
import SEPOLIA from './sepolia-logo-dark.png';
import LINEA_MAINNET from './linea-mainnet-logo.png';
import APE_TOKEN from './ape-token.png';
import OASIS from './oasis.png';
import GRAVITY from './gravity.png';

export default {
Expand All @@ -30,5 +31,6 @@ export default {
SEPOLIA,
'LINEA-MAINNET': LINEA_MAINNET,
APE: APE_TOKEN,
OASIS,
G: GRAVITY,
};
Binary file added app/images/oasis.png
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 app/util/networks/customNetworks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,16 @@ export const NETWORK_CHAIN_ID: {
readonly APE_CHAIN_TESTNET: '0x8157';
readonly APE_CHAIN_MAINNET: '0x8173';
readonly GRAVITY_ALPHA_MAINNET: '0x659';
readonly OASIS_SAPPHIRE_MAINNET: '0xsafe';
readonly OASIS_SAPPHIRE_TESTNET: '0xsaff';
} & typeof CHAIN_IDS = {
FLARE_MAINNET: '0xe',
SONGBIRD_TESTNET: '0x13',
APE_CHAIN_TESTNET: '0x8157',
APE_CHAIN_MAINNET: '0x8173',
GRAVITY_ALPHA_MAINNET: '0x659',
OASIS_SAPPHIRE_MAINNET: '0xsafe',
OASIS_SAPPHIRE_TESTNET: '0xsaff',
...CHAIN_IDS,
};

Expand All @@ -155,4 +159,6 @@ export const CustomNetworkImgMapping: Record<Hex, string> = {
[NETWORK_CHAIN_ID.APE_CHAIN_MAINNET]: require('../../images/ape-network.png'),
[NETWORK_CHAIN_ID.GRAVITY_ALPHA_MAINNET]: require('../../images/gravity.png'),
[NETWORK_CHAIN_ID.LINEA_MAINNET]: require('../../images/linea-mainnet-logo.png'),
[NETWORK_CHAIN_ID.OASIS_SAPPHIRE_MAINNET]: require('../../images/oasis.png'),
[NETWORK_CHAIN_ID.OASIS_SAPPHIRE_TESTNET]: require('../../images/oasis.png'),
};

0 comments on commit 65cab06

Please sign in to comment.