Metaplex符号命令元数据参数

发布于 2025-01-27 14:04:27 字数 755 浏览 2 评论 0原文

通过Candy Machine创建NFT后,我试图执行标志命令(链接到文档)

这是文档中的命令:

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts sign \
    -e devnet \
    -k ~/.config/solana/devnet.json \
    -c example

查看代码看来这些文档似乎不符合实现。

它需要一个-m/ - 元数据参数,我不确定它是什么。
试图插入一堆不同的值,但我得到 交易失败:不正确的帐户所有者或在一个情况下交易失败:此元数据没有创建者

我应该将什么作为参数?在我看来,它一定是某种公共密钥/地址,但我不确定。

谢谢你!

After creating an NFT via candy machine v2 I'm trying to execute a sign command (link to the docs)

This is the command from the documentation:

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts sign \
    -e devnet \
    -k ~/.config/solana/devnet.json \
    -c example

Looking at the code it seems that the docs do not match the implementation.

It requires an -m/--metadata parameter and I'm not sure what it is.
Tried to plug in a bunch of different values, but I get
Transaction failed: Incorrect account owner or in one case Transaction failed: This metadata does not have creators

What should I put as the parameter? Seems to me that it must be a public key/address of some sort, but I'm unsure.

Thank you!

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

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

发布评论

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

评论(1

等风来 2025-02-03 14:04:27

您是对的,如果您使用符号命令,则在签名通过糖果机制造的薄荷时必须添加-m,

我建议使用sign -all command或metaboss。 (请参阅Metaboss.RS)

You are right, if you use the sign command you have to add -m

When signing mints made through candy machine I would recommend using the sign-all command or metaboss though. (See metaboss.rs)

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