如何使用Metaplex标准存储在Solana上的NFT的多语言数据?
要为任何网站提供完整的语言支持,必须以两种语言存储数据,而不是自动翻译。分散的存储系统仍处于起步阶段,并且Solana未针对阅读操作进行优化。似乎为每个NFT的元数据提供多语言数据会夸大有关NFT的数据量。您无法存储两个版本的同一NFT。
是否有更好的方法可以根据Metaplex Metadata标准支持两种语言来为NFT集合进行支持?
To have full language support for any website the data must be stored in both languages instead of automatically translated. Decentralized storage systems are at their infancy and Solana is not optimized for READ operations. It seems like providing multilingual data for the metadata of each NFT will inflate the amount of data about said NFT. You can't store two versions of the same NFT.
Is there a better way to start with supporting two languages for an NFT collection based on the metaplex metadata standard?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在solana上存储多种语言数据的最简单和最快的方法是使用
external_url
字段在链元元数据上存储链中。根据Metaplex的(不可杀死的)令牌元数据标准: https://docs.metaplex.com/programs/token-metadata/token-antard-stand-non-fungible-standard ,此URI指向定义资产的外部URL。
然后,这种离链的JSON可以存储NFT元数据的任何语言转换,并且可以轻松(并在数据保持链外链中,很容易(并很快)进行查询。
The easiest and the fastest way to store multilingual data for an NFT on Solana would be to store it off-chain using the
external_url
field, on the on-chain metadata.According to the (non-fungible) Token Metadata Standard by Metaplex: https://docs.metaplex.com/programs/token-metadata/token-standard#the-non-fungible-standard, this URI points to an external URL defining the asset.
This off-chain JSON could then store any number of language conversions of the metadata of your NFT and can easily (and quickly) be queried as the data remains off-chain.