如何使用Metaplex标准存储在Solana上的NFT的多语言数据?

发布于 2025-02-04 07:19:38 字数 183 浏览 3 评论 0原文

要为任何网站提供完整的语言支持,必须以两种语言存储数据,而不是自动翻译。分散的存储系统仍处于起步阶段,并且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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

花海 2025-02-11 07:19:38

在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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文