gpt4 book ai didi

blockchain - 在多个钱包 solana metaplex 和 candymachine 之间分配类型转换资金

转载 作者:行者123 更新时间:2023-12-04 17:09:35 26 4
gpt4 key购买 nike

我是区 block 链的新手,我正在尝试使用区 block 链,所以我使用 metaplex 和 candy-machine 来上传和生成运行良好的虚拟 nft。我正在使用的开源存储库如下:

https://github.com/metaplex-foundation/metaplexhttps://github.com/exiled-apes/candy-machine-mint

然后出于学习目的,我想将类型转换和二次销售分成多个钱包,所以我更改了 JSON 并在创建者的数组中添加了三个测试钱包。

{
"name": "#0",
"symbol": "%$%",
"description": "description goes here",
"seller_fee_basis_points": 500,
"image": "image.png",
"external_url": "",
"edition": 0,
"attributes": [
{
"trait_type": "Background",
"value": "Street"
}
],
"properties": {
"files": [
{
"uri": "image.png",
"type": "image/png"
}
],
"category": "image",
"creators": [
{
"address": "<public address 1>",
"share": 34
},
{
"address": "<public address 1>",
"share": 33
},
{
"address": "<public address 1>",
"share": 33
}
]
}
}

但问题是 split 发生在二次销售上,而不是类型转换上。在创建钱包时,设置为国库资源的钱包将获得所有金额。我也想在铸币时拆分交易金额。

最佳答案

有趣的是,我在 metaplex documentation 中找到了这句话:

The SPL Metadata program supports storing up to five co-creators thatshare potential future profits from sales for the items as defined byseller_fee_basis_points . Each creator needs to be added as part ofthe minting process and is required to approve metadata that was usedin his name using the sign_metadata endpoint. Unverified artworkcannot be sold with Metaplex.

During the first sale, creators share in 100% of the proceeds, whilein follow up sales, they share in proceeds as a percentage determinedby seller_fee_basis_points. Whether or not a metadata is considered insecond sale or not is determined by the primary_sale_happened booleanon the Metadata account.

我对此的解释是,预期的行为应该是使用每个创作者份额定义的比率在创作者之间分配初始销售。听起来您正在经历不同的事情。

请记住,此文档是针对父项目的。 Candy-machine-mint 似乎是一个 fork ,他们可能已经改变了其中的一些行为。

关于blockchain - 在多个钱包 solana metaplex 和 candymachine 之间分配类型转换资金,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69774365/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com