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
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:
Since raw is not called in <Address>, any token in the tokenRegisry will return their name. useMetaData, however, is not called, so newer tokens would not return their name.
Option A: add raw : <Address pubkey={tokenAccount.info.mint} link truncate raw />
outcome: display only truncated addresses for all
Option B: add useMetadata : <Address pubkey={tokenAccount.info.mint} link truncate useMetadata />
outcome: display names for any with names (should match the basic view)
Personally, I prefer option B even in detail but I think there's a strong case for Option A.
I'll try and give these a test later this week and can get a PR put together. LMK if you have an opinion!
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: