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
{{ message }}
This repository was archived by the owner on Apr 3, 2019. It is now read-only.
there is clearly the intention of having the Buffer padded to 32 bytes. But when testing the resulting private key is not padded. To replicate:
varMnemonic=require('bitcore-mnemonic')varseed="erupt consider beyond twist bike enroll you salute weasel emerge divert hundred";varhdprivkey=(newMnemonic(seed)).toHDPrivateKey().derive("m/44'/60'/0'/0")console.log(hdprivkey.privateKey.toBuffer().length)// prints 31