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 Oasis Sapphire icons #12141

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
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'),
};
Loading