I'm new to blockchain development and don't get how it works. So, when I mint an usual NFT, I can see it's collection's page on solscan, even if it doesn't have a collection. When I click on compressed NFT, I just see an empty account (probably the mint cnft's account). So, I read the official solana docs and found some thing as a mint extensions. Can I add metadata-pointer to a compressed nft? Or do I get the whole conception wrong?
-
Compressed NFTs are a totally different product from the mint extensions in token-2022. I'm pretty sure compressed NFTs only support the legacy token program and metaplex metadata, so you won't be able to use any of the token-2022 extensions with compressed NFTs– Jon CCommented Feb 6 at 15:26
2 Answers
Since cNFTs do not use actual accounts on Solana, they are leaves in a merkle tree via the Bubblegum program, they cannot have any token extensions enabled on them.
Compressed NFTs have metadata functionality built into them though. So you can add metadata there, see the Metaplex docs here.
Only tokens that are created via the SPL Token Extension program can have extensions added to them (like the metadata pointer) extension.
cnft is not really an account, pretty sure also you can't add token extension to cnft because they are not individual accounts on the blockchain (and they couldn't be cheap in that case, since all cnft would have to carry data...)