在Metaplex Auction House CLI出售中,令牌尺寸如何大于1

发布于 2025-02-04 14:31:14 字数 1291 浏览 3 评论 0原文

与Metaplex Ahauction House CLI(AH-CLI)最新版本(提交472973F2437ECD9CD0E730254ECDBD1E8FBBD953 5月27日12:54:11 2022年2022年20:11 2022年)只是让 - token size 1 拍卖卖出价值大于1,即使对于具有10份拷贝的主版本也是如此。

ts-node src/auction-house-cli.ts sell -k ~/.config/solana/myId.json -ah GvH97dakw2FsJE8RHndfTUuMZKcSJX6cjvn66Ax9hEJ7 -b 2.7 -m 9wqzeSn7KHR8ur6wxBTAA9e9Ah8C2rew5L5N2QFmPe78 -t 3

这是返回的错误:

/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:143
            throw new Error(
                  ^
Error: Transaction failed: AnchorError occurred. Error Code: InvalidTokenAmount. Error Number: 6015. Error Message: Invalid token amount.
    at sendSignedTransaction (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:143:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async sendTransactionWithRetryWithKeypair (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:66:26)
    at async Command.<anonymous> (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/auction-house-cli.ts:330:5)

任何人都对如何拥有大于1的token大小?

谢谢

Working with the Metaplex Auction House CLI (ah-cli) latest version (commit 472973f2437ecd9cd0e730254ecdbd1e8fbbd953 from May 27 12:54:11 2022) is only letting have the --token-size 1 and do not let create auction sell with values greater than 1, even for a Master Edition minted with 10 copies.

ts-node src/auction-house-cli.ts sell -k ~/.config/solana/myId.json -ah GvH97dakw2FsJE8RHndfTUuMZKcSJX6cjvn66Ax9hEJ7 -b 2.7 -m 9wqzeSn7KHR8ur6wxBTAA9e9Ah8C2rew5L5N2QFmPe78 -t 3

This is the error being returned:

/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:143
            throw new Error(
                  ^
Error: Transaction failed: AnchorError occurred. Error Code: InvalidTokenAmount. Error Number: 6015. Error Message: Invalid token amount.
    at sendSignedTransaction (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:143:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async sendTransactionWithRetryWithKeypair (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:66:26)
    at async Command.<anonymous> (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/auction-house-cli.ts:330:5)

Anyone has any idea on how to have --token-size greater than 1?

Thanks

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

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

发布评论

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

评论(1

一萌ing 2025-02-11 14:31:14

对于不可杀死的令牌,无法设置- 令牌大小&gt; 1由于NFT的性质:使用相同的mint_address不得超过1个令牌。

的用例 - 令牌大小&gt; 1是Spl-Tokens / ublesible Assets,其中超过1个令牌可以具有相同的mint_address < / code>。

以&gt; 1副本,它们仍然是不可杀死的资产,并且副本没有相同的mint_address

For a non-fungible token, its not possible to set --token-size > 1 due to nature of NFTs: there can not be more than 1 token with the same mint_address.

The use-case for --token-size > 1 is SPL-tokens / fungible assets, where more than 1 tokens can have the same mint_address.

In the case of Master Editions with > 1 copies, they are still non-fungible assets and the copies don't have the same mint_address.

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