Closed joncinque closed 10 months ago
@joncinque is attempting to deploy a commit to the Solana Labs Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
explorer | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 15, 2023 10:29am |
Yeah for sure! The emphasis for this PR should be on the word "basic" :sweat_smile:
Problem
Token-2022 has been around for awhile, but the explorer still has no knowledge of it!
Summary of changes
This is really just basic support, and it was done in a pretty simple manner:
"spl-token"
, which is the program name returned from JSON-parsed encoding, and make sure that it also supports"spl-token-2022"
TOKEN_PROGRAM_ID
, and make sure that it also supportsTOKEN_2022_PROGRAM_ID
So in the end, accounts and mints are properly displayed, and the additional token-2022 accounts are fetched too.
There is no parsing of extensions included in this PR, but it can certainly be done in follow-up work.