Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: locker007 on February 22, 2018, 02:03:47 PM



Title: how to i get my mnemonic phraser from WIF key?
Post by: locker007 on February 22, 2018, 02:03:47 PM
how to i get my mnemonic phraser from WIF key?


Title: Re: how to i get my mnemonic phraser from WIF key?
Post by: lite on February 22, 2018, 02:40:29 PM
how to i get my mnemonic phraser from WIF key?
Afaik that's not possible. why don't you create a new wallet and sweep the private key? i would recommend you to use electrum [1].

[1] https://electrum.org


Title: Re: how to i get my mnemonic phraser from WIF key?
Post by: DannyHamilton on February 22, 2018, 05:32:28 PM
Which Mnemonic phrase do you want?

There are multiple mnemonic phrases.  Systems haven't all implemented a single standard phrase type.

It is likely that it will be impossible to do what you are requesting, but that will depend on which mnemonic phrase you want, and how much information you have related to the private key (do you have multiple keys? Do you know the derivation path that was used? etc.


Title: Re: how to i get my mnemonic phraser from WIF key?
Post by: Xynerise on February 22, 2018, 05:40:38 PM
Like lite said above, it is impossible.
The process to generate a BIP 39 mnemonic seed actually generates entropy and encodes it then a checksum is added (https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) And it is then mapped to a word list.
So it is impossible to go from a a mnemonic seed back to entropy.

The BIP 39 ---> (WIF) private key is a one-way deterministic function and you can't reverse it

However, since you have the WIF (Wallet import format) private key then you can import it directly into a wallet that supports that function -- lots of wallets do.

If, for whatever reason, you lost your seed words but just have the private key for one of the generated addresses (for a BIP 32 generated HD address), then unfortunately you cannot use it to get the remaining (change) addresses.