在Solana上使用Metaboss的印刷版

发布于 2025-02-12 03:18:40 字数 1077 浏览 1 评论 0原文

我正在尝试使用控制台中的主版(又名原始版)创建印刷品。打印次数应限于固定数字。

我遵循此过程:

  1. 将图像上传到arweave:arloader上传image.jpg -with-sol -sol-keypair-path〜/.config/.config/solana/id.json -ar-default-keypair-无捆
  2. 使用NFT元数据创建JSON文件:
{
    "name": "name_of__the_collection",
    "symbol": "token_of_the_collection",
    "uri": "https://arweave.net/[arweave_img_tx_id]",
    "seller_fee_basis_points": 0,
    "creators": [
        {
            "address": "address_of_the_creator_of_the_collection",
            "verified": false,
            "share": 100
        }
    ]
}
  1. mint the nft: Metaboss Mint One - Keypair〜/.config/solana/id.json -nft-data-file ./metadata.json -max-editions = '10'

  2. 创建所有内容印刷品: METABOSS MINT缺失-Account adversion_of_the_creator_of_the_collection

我有两个问题:

  • 在Solana Explorer上,我有一个错误:错误加载图像
  • 4。命令返回错误:错误:失败:失败了帐户数据

是什么问题?

[edit] 错误1:我使用了uri键,而不是元数据中的图像。这就是为什么Solana Explorer找不到图像的原因。

I'm trying to create prints from a master edition (aka original edition) using from the console. The number of prints should be limited to a fixed number.

I followed this procedure :

  1. Upload the image to Arweave : arloader upload image.jpg --with-sol --sol-keypair-path ~/.config/solana/id.json --ar-default-keypair --no-bundle.
  2. Create the json file with NFT metadata :
{
    "name": "name_of__the_collection",
    "symbol": "token_of_the_collection",
    "uri": "https://arweave.net/[arweave_img_tx_id]",
    "seller_fee_basis_points": 0,
    "creators": [
        {
            "address": "address_of_the_creator_of_the_collection",
            "verified": false,
            "share": 100
        }
    ]
}
  1. Mint the NFT :
    metaboss mint one --keypair ~/.config/solana/id.json --nft-data-file ./metadata.json --max-editions='10'

  2. Create the all the prints :
    metaboss mint missing-editions --account address_of_the_creator_of_the_collection

I have two issues :

  • On solana explorer, I have an error : error loading image
  • The 4. command returns an error : Error: failed to get account data

What's wrong ?

[edit] Error 1 : I used uri key instead of the image in the metadata. That's why solana explorer couldn't find the image.

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

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

发布评论

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

评论(1

情愿 2025-02-19 03:18:40

通常,过程很好。但是,有一些细节必须对齐:

关于丢失的图像:

  1. 您也必须上传元数据JSON文件。这是您在薄荷命令中引用的内容。
  2. 您的元数据不是100%有效的。例如,您缺少属性字段。看看 a>有关更多详细信息。

关于Metaboss Mint Inffist-Editions

您使用- 帐户指定的帐户不应是集合创建者的地址,而应是Master Edition地址。 (Master Edition是您在步骤3中铸造的NFT),

由于命令运行GPA调用,您应该添加- 超时120,并且不使用默认RPC。否则,您将不会获得结果。

如果仍然不起作用,您也可以运行
Metaboss Mint Editions -Next-Editions 9

在任何不确定性的情况下,请告诉我。

Generally the process is good. There are some details that have to be aligned though:

Regarding the missing image:

  1. You have to upload the metadata JSON file, too. This is what you reference in the mint command.
  2. Your metadata is not 100% valid. E.g. you are missing the properties field. Have a look into the Token Metadata docs for more details.

Regarding metaboss mint missing-editions:

The Account you specify with --account should not be the address of the creator of the collection but instead the Master Edition Address. (Master Edition is the NFT you minted in step 3)

Since the command runs a GPA call you should add --timeout 120 and use not use the default RPC. Otherwise you will not get results.

If it still does not work you can also run
metaboss mint editions --next-editions 9

Please let me know in case of any uncertainties.

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