skip to Main Content

Javascript – Error creating token for Token2022Form: TypeError: Cannot read properties of undefined (reading 'call')

At the execution stage of function createInitializeInstruction I receive an error: 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)…

VIEW QUESTION

How to make safety saving private keys to mongodb? JavaScript, node.js

using the web3.eth.account.create() method returns: { address: "0xb8CE9ab6943e0eCED004cDe8e3bBed6568B2Fa01", privateKey: "0x348ce564d427a3311b6536bbcff9390d69395b06ed6c486954e971d960fe8709", signTransaction: function(tx){...}, sign: function(data){...}, encrypt: function(password){...} } How to make safety saving private keys to mongodb? I was researching bcrypt, hashcode, but hascode is not safety and bcrypt encoding requires…

VIEW QUESTION
Back To Top
Search