You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chain metadata doesn't necessarily include a logoURI, but we do require a logo.svg for chain entries in the registry. So it's possible to get all the chain info including all the logos but atm it looks like this code in the explorer:
// Ensure that by the before this code is done, the registry classes content caches will be filledawaitregistry.listRegistryContent();// Get the chain metadata, most of which don't have logos yetconstregistryChainMetadata=awaitregistry.getMetadata();// Merge the registry-based logo URIs into the metadataconstmetadataWithLogos=awaitpromiseObjAll(objMap(registryChainMetadata,async(chainName,metadata): Promise<ChainMetadata>=>({
...metadata,logoURI: (awaitregistry.getChainLogoUri(chainName))||undefined,}),),);
We should improve the interface so that logos 'just work'.
It may make sense to do this at the same time as #534
The text was updated successfully, but these errors were encountered:
Chain metadata doesn't necessarily include a logoURI, but we do require a logo.svg for chain entries in the registry. So it's possible to get all the chain info including all the logos but atm it looks like this code in the explorer:
We should improve the interface so that logos 'just work'.
It may make sense to do this at the same time as #534
The text was updated successfully, but these errors were encountered: