4 ms·
Thanks, this is helpful. I had a look at this link (https://eips.ethereum.org/EIPS/eip-721#simple-summary https://eips.ethereum.org/EIPS/eip-721#simple-summary)
by osigurdson 5y ago
Thanks, this is helpful. I had a look at this link (https://eips.ethereum.org/EIPS/eip-721#simple-summary https://eips.ethereum.org/EIPS/eip-721#simple-summary) based on your response (specifically the json schema). Is it correct that the actual NFT is three strings: name, description and image? It seems that "image" contains URL that you mention. Is there any limit to the size of the NFT (i.e. could you save the entire jpg base64 encoded in the image field for example)?
At first I was a little confused by the fact that it seems that the purchaser essentially owns a URL and they would have no control over the information that the URL is pointing to. However, the concept of permanent/decentralized storage (Arweave as you mention) starts to clarify things a bit. If you have a digital asset located at a URL that can never be altered and is permanently accessible then it does start to make some sense - though I will have do some reading to understand how this is actually possible.
Thanks again!
- chrisco255 5y agoTechnically yes you could use base64 as your url in the image field, however, I wouldn't recommend it unless it's an SVG or something small (a few KBs) since the metadata cannot be cached or asynchronously fetched by browsers on page load. So a massive metadata file could cause issues viewing your NFT in most marketplaces or galleries. There are other fields you can add to meet marketplace standards, such as OpenSea's: https://docs.opensea.io/docs/2-adding-metadata https://docs.opensea.io/docs/2-adding-metadata To learn more about ERC721 highly recommend the auditing firm OpenZeppelin's implementation. It's one of the most used and battle tested: https://docs.openzeppelin.com/contracts/3.x/erc721 https://docs.openzeppelin.com/contracts/3.x/erc721
- osigurdson 5y agoGreat info. Many thanks.