每个NFT是否有单独的智能合同

发布于 2025-02-13 00:12:40 字数 88 浏览 1 评论 0 原文

我想创建一个具有6种不同变体的NFT。除了类似的艺术品外,他们还将分享一些自定义功能。

我的问题是,更有效的方法是什么,使用同一智能合约有任何缺点?

I want to create an NFT with 6 different variations. Besides the similar artwork, they're gonna share some custom capabilities.

My question is, what is the more efficient approach, and are there any drawbacks to using the same Smart Contract?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

怀中猫帐中妖 2025-02-20 00:12:41

一种常见的做法是将集合中具有相似含义的令牌分组。

广泛使用的标准为:

  • erc721 用于收集独特物品 - 例如图纸
  • erc1155 用于收集可以具有多个副本的项目 - 例如

基于问题中的描述,您可能需要在ERC721集合中造成6个令牌(每个变体)。

A common practice is to group tokens of similar meaning in a collection.

Widely used standards are:

  • ERC721 for collection of unique items - for example drawings
  • ERC1155 for collection of items that can have multiple copies - such as hockey player cards

Based on the description in your question, you might want to mint 6 tokens (one for each variation) in the ERC721 collection.

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