Metaplex符号命令元数据参数
通过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 getTransaction 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是对的,如果您使用符号命令,则在签名通过糖果机制造的薄荷时必须添加-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)