Closed cinnabarhorse closed 3 years ago
Also add author name of art
I'm leery about adding these just because of the gas cost, but we can do it.
I added author and description to itemType. These are returned by functions getItemType
and getItemTypes
.
The itemType.js file needs to be updated with the author and description for each itemType.
I did not add a size limit to the author and description fields because access to add items is limited to contractOwner and DAO. However we should try to limit most names and descriptions to 31 characters or less for gas savings.
Great, this is added but probably won't be used much. Closed.
It's worth considering to add a
description
field toitemType
so we can have all of the descriptions of items onchain. This would allow developers to easily replicate a marketplace later. Many NFTs have short onchain metadata.