执行createInitializeInstruction时遇TypeError错误求助
关于执行
createInitializeInstruction时的TypeError问题求助 执行createInitializeInstruction函数时触发如下错误:
Error creating token for Token2022Form: TypeError: Cannot read properties of undefined (reading 'call') at Hash.CipherBase (index.js:7:1) at new Hash (browser.js:9:1) at createHash (browser.js:29:1) at splDiscriminate (splDiscriminate.ts:4:1) at createInitializeInstruction (instruction.ts:51:1) at createInitializeInstructionReact (createInitializeInstructionReact.js:21:1) at Object.create (main.b9dcefd2038733fdf419.hot-update.js:218:495) at async handleCreateToken2022 (index.jsx:140:1)
已确认以下参数均为有效值:
name、symbol、umi为字符串值mint、metadata、mintAuthority、updateAuthority均为合法有效对象/地址
可提供的相关信息包括:
- 业务代码
- @solana/spl-token-metadata库中
createInitializeInstruction的源码 - webpack配置文件内容
- package.json依赖信息
已查阅大量资料仍未解决问题,恳请提供解决方案。
内容的提问来源于stack exchange,提问作者Rose
相关产品推荐
相关产品推荐

