最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

网站源码admin35浏览0评论

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

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

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

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

我发现添加交易中的

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

所以我检查了

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

如何在

createCreateMetadataAccountV2Instruction
中传递参数?

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

回答如下:
发布评论

评论列表(0)

  1. 暂无评论