在 Solana 中创建 Fungible 代币时出现非 base58 字符错误

编程入门 行业动态 更新时间:2024-10-04 01:22:41

在 Solana 中创建 Fungible <a href=https://www.elefans.com/category/jswz/34/1768375.html style=代币时出现非 base58 字符错误"/>

在 Solana 中创建 Fungible 代币时出现非 base58 字符错误

我正在尝试使用 metaplex 创建可替代令牌(这里)

其余工作正常,但发送交易时出现错误。

我发现添加交易中的

createCreateMetadataAccountV2Instruction
在指南中有不同类型的道具。如果我为此使用打字稿,它会抛出
createMetadataAccountArgsV2 is not a type of PublicKey
.

所以我检查了

@metaplex-foundation/mpl-token-metadata
,它的道具是
account: createMetadataAccountV2InstructionAccounts
programId?: PublicKey
,这与here不同。

如何在

createCreateMetadataAccountV2Instruction
中传递参数?

或者如果这不是问题,项目有什么问题(我只是复制并粘贴指南)?

回答如下:

更多推荐

在 Solana 中创建 Fungible 代币时出现非 base58 字符错误

本文发布于:2024-05-30 23:57:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1771063.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代币   字符   错误   Solana   Fungible

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!