简体   繁体   English

如何在您通过智能合约以编程方式铸造的 NFT 中包含“由...创建”信息(例如,在 OpenSea 列表中)

[英]How to include "Created by..." information (e.g. on the OpenSea listing) on an NFT that you're minting programatically through a smart contract

I've been writing test smart contracts in preparation for a project I'm launching soon.我一直在编写测试智能合约,为即将启动的项目做准备。 Here is one of the collections created by an example test smart contract: https://opensea.io/collection/quad-tech .这是由示例测试智能合约创建的 collections 之一: https://opensea.io/collection/quad-tech

As you'll see, I'm most certainly not an artist, but more importantly I have two issues:如您所见,我肯定不是艺术家,但更重要的是我有两个问题:

(1) the collection does not have a "Created by Biotechnology" tag in the way that say the Bored Ape Yacht Club collection ( https://opensea.io/collection/boredapeyachtclub ) has "Created by BoredApeYachtClub". (1) 该系列没有“由生物技术创建”标签,说明 Bored Ape Yacht Club 系列 ( https://opensea.io/collection/boredapeyachtclub ) 具有“由 BoredApeYachtClub 创建”。

(2) The NFTs in my Quad.tech collection also don't have "Created by Biotechnology" in their descriptions, the same way that Board Apes have "Created by BoredApeYachtClub" in their NFT descriptions. (2) 我的 Quad.tech 收藏中的 NFT 在其描述中也没有“由生物技术创建”,就像 Board Apes 在其 NFT 描述中的“由 BoredApeYachtClub 创建”一样。

Do you know what the issue is here / what code I would need to add to my smart contract to add this "Created by" wording?你知道这里的问题是什么/我需要在我的智能合约中添加什么代码来添加这个“创建者”的措辞吗? Here is my smart contract: https://polygonscan.com/address/0x88d108917c172acc19c455da93c1518272f14b02#code这是我的智能合约: https://polygonscan.com/address/0x88d108917c172acc19c455da93c1518272f14b02#code

Thanks very much.非常感谢。

This has nothing to do with your smart contract code.这与您的智能合约代码无关。 That code is something that is meant to be executed on the Ethereum VM, and has nothing to do with the user interface of the OpenSea website (or any other website for that matter).该代码旨在在以太坊 VM 上执行,与 OpenSea 网站(或任何其他网站)的用户界面无关。

I see your NFTs already have some descriptions, like "A particularly lost hamster".我看到你的 NFT 已经有一些描述,比如“一只特别迷路的仓鼠”。 You added that at some point when you created this asset/NFT.您在创建此资产/NFT 时添加了这一点。 If you are the owner of this asset, you should be able to change the description of this asset to something like "Created by Biotechnology".如果您是该资产的所有者,您应该能够将该资产的描述更改为“由生物技术创建”之类的内容。 If the description itself is part of the asset, then you might need to delete the existing ones and add new assets with desired descriptions.如果描述本身是资产的一部分,那么您可能需要删除现有的并添加具有所需描述的新资产。

I cannot see the "Created by BoredApeYachtClub" on their NFTs (must have missed it somehow), but similar applies here as well.我在他们的 NFT 上看不到“由 BoredApeYachtClub 创建”(一定是不知何故错过了它),但类似的情况也适用于此。 I doubt a tag is a part of the asset.我怀疑标签是资产的一部分。 It's most likely just a mechanism on the website to filter assets/NFTs.它很可能只是网站上过滤资产/NFT 的一种机制。 You can simply create this new tag through the UI and tag your NFTs with it.你可以简单地通过 UI 创建这个新标签并用它来标记你的 NFT。 This certainly won't be in the smart contract code.这肯定不会出现在智能合约代码中。

Update :更新

After additional comments, it is now clear that what you want is to have an account/collection officially verified by OpenSea.在附加评论之后,现在很明显,您想要的是拥有一个由 OpenSea 正式验证的帐户/集合。 Again, this has nothing to do with your smart contract code, but your collection has to become popular enough (reach trading volume of 100 ETH or more on OpenSea and have all collections items revealed) to become eligible for verification.同样,这与您的智能合约代码无关,但您的收藏必须足够受欢迎(在 OpenSea 上达到 100 ETH 或更多的交易量,并显示所有 collections 项目)才有资格进行验证。 And even then, it can take some time (probably depending on the workload of the team that does the verification) and it's not guaranteed.即便如此,它也可能需要一些时间(可能取决于进行验证的团队的工作量)并且不能保证。 For more info, refer to the following page: https://support.opensea.io/hc/en-us/articles/360063519133-What-is-a-verified-account-or-collection-有关详细信息,请参阅以下页面: https://support.opensea.io/hc/en-us/articles/360063519133-What-is-a-verified-account-or-collection-

@simba @辛巴

I understand your question and i am facing the same issue.我理解你的问题,我也面临同样的问题。 Cannot see "Created by NAME" under my collection name.在我的收藏名称下看不到“由 NAME 创建”。

If you got an solution to this kindly share.如果您对此有解决方案,请分享。 email bruce._.wayne@icloud.com email bruce._.wayne@icloud.com

Thank you谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM