Lets imagine we have NFTs that are simple pngs/jpegs.
If one was to use OpenZepelin’s ERC721URIStorage
, then its tokenUri (maybe appended to a base path) is supposed to point to a json doc that has more info about the nft right ?
e.g www.myserver.com/nfts/1.json
{
name:"",
description:"",
image: “”
}
So if I understand correctly - since that json doc is on a server that can go down or be modified then thats why IPFS is usually used?
But if one uses IPFS does that mean the uri would directly point to an image on ipfs without needing to put metadata anywhere ?