-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Network/Token icon #13630
Comments
Is the download of the main token images still a prerequisite to be done ? |
I can't see any token icons (ex: WBTC) inside Ethereum Coins tab in Trezor Suite. What happened ? |
It is not released yet. |
@Hannsek would share when will that become visible on Trezor Suite ? |
It should be out next release - in 2 weeks. cc @MiroslavProchazka |
Prerequisite #12694
Description:
Create component to show icon/logo of an asset.
Create another component which will add ring around the asset. This ring should have part filled using dominant color of the icon.
In case file is not available, show first letter
In case file nor text are available, show
?
instead of the letters.Files:
Assets which we have as a network are available offline in
packages/components/src/images/coins
[network].svg
Assets available on
data.trezor.io
[coingecko_id].webp
[coingecko_id]--[contract_address].webp
24x24
24x24
48x48
@2x
add to the name of file:[platform]--[contract_address]@2x.webp
Beware of:
networkSymbol
!==coingecko_id
coingecko_id
is available innetworksConfig.ts
for each network except testnets@2x
should be used, visitImage.tsx
ada
please try fetch 2 urls, seebuildCoinUrls
incoingecko.ts
Api:
The text was updated successfully, but these errors were encountered: