You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmn=require('electrum-mnemonic')constphrase=mn.generateMnemonic()constseed=mn.mnemonicToSeedSync(phrase,{passphrase: 'extrapassword'})console.log(seed)// async;(async()=>{constseed2=awaitmn.mnemonicToSeed(phrase)// no extra password so seed and seed2 should be differentconsole.log(seed2)})()
mnemonicToSeed prefix must match the prefix used to generate (default: segwit)