Skip to content

Commit

Permalink
feat: logos provisioning completed
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKheops committed Oct 7, 2023
1 parent 8a530a6 commit 78c2f2f
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 1 deletion.
Binary file added assets/tokens/coingecko/cockapoo.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/dogemoon.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/dude.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/kaby-arena.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/memeflate.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/memepad.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/quiztok.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/tokenasset.webp
Binary file not shown.
Binary file added assets/tokens/coingecko/zone-of-avoidance.webp
Binary file not shown.
23 changes: 22 additions & 1 deletion scripts/fetch-external/steps/06_fetchKnownEvmTokensLogos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,27 @@ const INVALID_IMAGE_COINGECKO_IDS = [
'g',
'hiveterminal',
'nobi',
'style-protocol',
'taxa-token',
'the-real-calcium',
'vmpx-erc20',
'yieldeth-sommelier',
'baby-yooshiape',
'bovineverse-bvt',
'crypto-news-flash-ai',
'dungeon-token',
'football-at-alphaverse',
'helper-coin',
'pink-vote',
'rambox',
'to-the-moon-token',
'wagmi-token',
'heco-peg-bnb',
'heco-peg-xrp',
'pacman-native-token',
'firepot-finance',
'bridged-sommelier-axelar',
'adv3nture-xyz-gemstone',
]

const getAllCoingeckoIds = (knownEvmNetworks: TalismanEvmNetwork[]) => {
Expand Down Expand Up @@ -54,7 +75,7 @@ export const fetchKnownEvmTokensLogos = async () => {
const coin = await fetchCoinDetails(coingeckoId, true)
console.log('downloading icon for %s : %s', coin.id, coin.image.large)

if (coin.image.large.includes('missing')) {
if (!coin.image.large.startsWith('https://')) {
console.warn('missing image, skipping...', coin.image)
continue
}
Expand Down

0 comments on commit 78c2f2f

Please sign in to comment.