-
Notifications
You must be signed in to change notification settings - Fork 287
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
Solana Explorer: Token display names vs addresses in detailed mode #207
Comments
The Here's where the let addressLabel = raw
? address
: displayAddress(address, cluster, tokenRegistry);
var metaplexData = useTokenMetadata(useMetadata, address);
if (metaplexData && metaplexData.data)
addressLabel = metaplexData.data.data.name;
if (truncateChars && addressLabel === address) {
addressLabel = addressLabel.slice(0, truncateChars) + "…";
}
if (overrideText) {
addressLabel = overrideText;
} Since Proposed Solution
Personally, I prefer option B even in detail but I think there's a strong case for Option A. |
Problem
Solana Explorer Token Details tab loses known token names for some tokens (my hunch is those with newer Metaplex metadata post token registry). See example below:
Screen.Recording.2023-01-09.at.7.15.04.PM.mov
Expected Results: either mint token display name is displayed for all tokens in or the public key is show for all in detailed mode (not a mix of both).
Experienced: (see video) some tokens toggle to Public Key in detailed mode while others maintain their display name (eg, Samo).
Link to example
Proposed Solution
My hunch is there's a state issue with the token registry and the newer metaplex metadata. Probably an easy fix. I'll try to do some research when I have more time.
The text was updated successfully, but these errors were encountered: