JSON Schema for Fungible Tokens #403
Replies: 3 comments 13 replies
-
Description Length No comment, 500 seems fine. Smallest Denom It should be noted in the schema that smallestDenom is the symbol which will be used by applications when displaying small denominations and is not necessarily the name. For example, for HBAR smallestDenom would be entered in the metadata as "ħ" not "Tinybar" Logos Logo and Alt Logo for the token - We should strongly recommend projects provide their logo as a .svg vector file, and recommend the logo be square. I'm not sure what the distinction between Logo and Alt Logo is, but perhaps guidelines should be given? ie. Logo suitable for light backgrounds and Alt Logo suitable for dark? Alt Logo should be included in the human-readable metadata (currently missing from the list). Mutable Data Although I understand the metadata including things such as website, whitepaper and discord address, I wonder about there being an issue where due to the immutable nature of the metadata, these fields cannot be updated if they were to change in the future. This would only be mutable if the token had an admin key, which may not be desirable as noted in the HIP. This is a tricky question because even if the metadata is hosted somewhere mutable such as the project's website, what if that project website changes? A token without an admin key would have no recourse to update their metadata. For a project to be required to set a token admin key purely to be able to update aesthetics seems a bit overkill. If there was a way to change the metadata separately, with a 'metadata key', that would solve the problem fairly elegantly. However that just adds more bloat to the platform. Or perhaps the treasury could by default have permission to update the metadata and only the metadata. Not sure how feasible or reasonable that is either. Properties Field I concur with providing an optional "properties" field, much like HIP-10, for arbitrary data that a FT might want to include (for example, website/discord/whitepaper), if only to capture unknown, unanticipated future use cases and additional information a project might want to include. Metadata field in FT's I support this idea, it depends on Hedera to make the call regarding scalability of adding another field. |
Beta Was this translation helpful? Give feedback.
-
Why not use an IPFS type link to a place for mutable meta data? |
Beta Was this translation helpful? Give feedback.
-
I was chatting with @sergmetelin and the topic of KYC came up - that if a FT has a KYC requirement, it's difficult to put that requirement into context without additional data. We could consider adding in a standardized optional field in properties for a KYC website/url so that tokens with KYC requirements can direct users to the appropriate information? "Properties": { |
Beta Was this translation helpful? Give feedback.
-
Following the HIP-10 model of defining a JSON Schema for NFTs, we@calaxy would like to define the comparable for fungible tokens.
Premise is to link from the
memo
field on the HTS token to a JSON file that itself links to metadata like a logo, whitepaper, discord, etc. By normalizing the JSON schema we simplify for wallets , explorers, etc its display in a consistent mannerMetadata includes
We've put together a rough first draft at https://github.com/paulatcalaxy/hedera-improvement-proposal/blob/master/HIP/hip-xxxx.md
Hoping for some review and broad stroke validation before creating a PR
paul (& cooper)
Beta Was this translation helpful? Give feedback.
All reactions