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 ApeChain network and token icons #11928

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
Binary file added app/images/ape-network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/images/ape-token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/images/image-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import AVAX from './avalanche.png';
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';

export default {
PALM,
Expand All @@ -27,4 +28,5 @@ export default {
'LINEA-SEPOLIA': LINEA_TESTNET,
SEPOLIA,
'LINEA-MAINNET': LINEA_MAINNET,
APE: APE_TOKEN,
};
3 changes: 3 additions & 0 deletions app/util/networks/customNetworks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ export const UnpopularNetworkList = [
},
];

console.log('THIS: ', toHex(33139));

export const CustomNetworkImgMapping: Record<`0x${string}`, string> = {
'0xe': require('../../images/flare-mainnet.png'), // Flare Mainnet
'0x13': require('../../images/songbird.png'), // Songbird Testnet
[toHex(33139)]: require('../../images/ape-network.png'),
};
Loading