I’ve been looking into Solana NFT metadata and I’m a bit confused about what’s really needed. I found some info online but it’s not super clear. There’s this big JSON example with lots of stuff in it like name, symbol, description, image links, and other things. But I’m not sure which parts I actually have to include.
The docs say you should leave out the optional stuff if you’re not using it. That makes sense, but now I’m stuck trying to figure out what’s optional and what’s not. Can anyone help me understand what the must-have parts are for Solana NFT metadata? I want to make sure I’m not missing anything important when I set up my NFTs.
Here’s a simple example of what I think might be the basics:
{
"name": "CoolCat NFT",
"description": "A super cool cat NFT",
"image": "https://example.com/coolcat.png",
"attributes": [
{ "trait_type": "fur", "value": "orange" },
{ "trait_type": "eyes", "value": "green" }
]
}
Is this enough? Or am I missing some crucial fields? Any help would be awesome!
Your example covers the basics well. The essential elements for Solana NFT metadata are indeed the name, description, and image URL. The attributes you’ve included are beneficial but not strictly required.
Consider adding a ‘symbol’ field, which is a short identifier for your collection. While optional, it’s often included and can be useful for organizing your NFTs.
For royalties, include the ‘seller_fee_basis_points’ field if you plan on secondary market sales. This is crucial for ensuring you receive royalties from future transactions.
Other fields like ‘external_url’ or ‘animation_url’ can enhance your NFT’s functionality but aren’t mandatory. Include these only if they add value to your specific use case.
Remember, the goal is to provide necessary information without overcomplicating the metadata. Your current structure is a solid foundation to build upon.
hey there FlyingEagle! i’ve been playing around with solana NFTs too, and i totally get your confusion. the metadata can be a bit of a headache at first 
your example looks pretty good actually! from what i’ve learned, you’ve got most of the essential stuff there. the ‘name’, ‘description’, and ‘image’ are definitely key. attributes are great for adding more details, but they’re not strictly required.
one thing you might wanna add is the ‘symbol’ field. it’s usually a short code for your nft collection, like ‘CC’ for CoolCat.
have you thought about adding any ‘external_url’ or ‘animation_url’? they’re not must-haves, but could be cool if you have a website for your NFTs or want to include some animation.
oh, and don’t forget about the ‘seller_fee_basis_points’ if you’re planning on secondary sales! it’s how you set your royalties.
what kind of nfts are you planning to make? i’m super curious to hear more about your project!
yo FlyingEagle, ur example’s pretty solid! the essentials r there - name, description, n image. attributes r cool but not mandatory. u might wanna add ‘symbol’ for ur collection identifier, like ‘CC’ for CoolCat. ‘seller_fee_basis_points’ is key for royalties if ur plannin secondary sales. other stuff like ‘external_url’ is optional, only add if it fits ur nft’s purpose. keep it simple n focused on wut matters for ur project!