bitpay / bitcore-mnemonic

BIP39 Mnemonics implemented for Bitcore
http://bitcore.io
MIT License
155 stars 212 forks source link

Create mnemonic from xpriv #44

Open priestc opened 8 years ago

priestc commented 8 years ago

It seems the Mnemonic class only can generate new from thin air, but from an already existing xpriv.

I have an xpriv that has been generated, from that xpriv, I want to generate the word list. For instance:

var mn = new Mnemonic.from_xpriv("xprv9uHSnwRJmrVpyLoQcroxzcVpbX8t2mBXr5mjEgmz5FwybjxW5QWqTMgeEtfMwWbggEm9uji839Y4B5hwYrc2z5t9E1SbiDvfwyJTvJZyhue")
console.log(mn.phrase)

Is this possible?

dabura667 commented 8 years ago

Is this possible?

No.