Reputation: 11
I am trying to update the token metadata for my existing token. Is there any other steps needed to be carried out to update the token metadata correctly?
I have updated the token metadata by using Strata Protocol Token Launchpad (https://app.strataprotocol.com/edit-metadata) 1 week before. But it didn't reflect on the token logo and name at all on the Solana Explorer.
Token Address: https://explorer.solana.com/address/7KG5WNqNbUdXY5MBX7TUVZMTSD5cGoYxwYwry96GD1sM/metadata
Any help is appreciated as always. Thanks in advance.
Upvotes: 1
Views: 8248
Reputation: 1
Blockquote Hmm got same problem here, In my case, I setAuthority of the SPL token to null right after initiate and mint to make sure no one could ever mint more. What they said "You must have mint authority in order to create or update the metadata", mean that existing spl-token have no way to update their metadata.
Yes it seem if you use this command spl-token authorize <mint address>
mint --disable, to cap and protect token mint, it is impossible and there are no way to reset it and update metadata. That is a big problem, Solana must provide solution for it because before https://github.com/solana-labs/token-list was use to update matadata, even if used spl-token authorize <mint address>
mint --disable, .
Upvotes: 0
Reputation: 61
Hmm got same problem here,
In my case, I setAuthority
of the SPL token to null
right after initiate and mint to make sure no one could ever mint more.
What they said "You must have mint authority in order to create or update the metadata", mean that existing spl-token have no way to update their metadata.
Upvotes: 2
Reputation: 407
The new standard to SPL token metadata is actually that the same of NFT's now.
Each token will have it's own token metadata account (which will need creating if token was created via the SPL Token CLI), in your case once was created for you if you used Strata to create the token.
Updating the SPL token metadata is now as simple as updating an NFT on Solana. Various tools such as https://metaboss.rs is one, Strata website should also work to update the token tool. I've also got a site which after testing updates tokens too just fine but at the moment adds in some unessaccery data related to NFT's, but functions. If you wish to try that let me know in a comment.
If Strata doesn't work for you you could try Metaboss. You'll need to first upload an image and a JSON file to arweave that you would then link to each other.
https://github.com/solana-labs/token-list
You can see from the above document at Solana Labs that you need
{
"name": "TOKEN_NAME",
"symbol": "TOKEN_SYMBOL",
"description": "TOKEN_DESC",
"image": "TOKEN_IMAGE_URL"
}
in your JSON file. Your image URI should be a link to the image you uploaded in step one.
Upvotes: 2