-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow extended metadata for NFTs for easy wallet/client integration #9
Comments
Thanks - yeah we are trying to figure out the best way to handle this. We have a few ideas:
For something like Cronics, we would do something like (to represent 32 bytes):
For something like a fungible token:
For something like your example
What do you think? I totally agree though, metadata needs to be redone |
I like the idea! I am thinking about how we should accomodate Json, after someone writes a parser, how about the one below (field names like
I am happy with your original suggestion too. Do you guys have some timeline when it will be in the standard? |
I think for us the main thing is, where we should expect the location/content-type fields in the metadata, I suppose that will also be standardized. |
Yeah I think that addition makes sense too. We may alter the names of the types a bit more (bundle it in it's own module) We are uploading the marketplace changes this weekend, and can include this update in the spec. I definitely agree that something more than what we have is required so I'll make changes to the interface over the next week and update the github. |
great, thank you! |
We are looking at going with the following:
Rationale - we want to support existing platform that have already adopted part of the standard for their apps. We think this still provides a way to extend metadata for either NFTs of fungible tokens. Let me know your thoughts @ferencdg ? |
looks good to me! Can we also put the field names and values for the most important fields like |
Where exactly do you want this added? |
maybe pairs under non-fungible->data and we could have if we standardize those fields, then all wallets can treat them uniformly |
Hi, thank you for your high quality standard, I would like to propose and extension to get extended NFT metadata.
Right now, if we have a browser wallet plugin, we are unable to uniformly retrieve the content-type of the NFT that is written based on your standard. That means our wallet plugin would need to know about the actual contract to know the NFT content-type or query some aggregation service. Also based on your specification, someone currently cannot uniformly implement an NFT that might return a jpeg for some TokenId while returning a mpeg for some other TokenId.
The second problem for us is that NFTs based on your standard doesn't provide a uniform location specification where the NFT binary/blob is located. People might store their NFT in the token contract directly, or in an other canister, IPFS, or on web. For clients like a wallet it would be good to be able to uniformly retrieve the NFT binary.
The suggested extension:
for example if the location is IPFS, then the metadata should be an IPFS hash, if it is Canister then maybe a canister Principal.... We can discuss this in details, if people are happy with this in Principal.
The text was updated successfully, but these errors were encountered: