bitcoinjs / bip39

JavaScript implementation of Bitcoin BIP39: Mnemonic code for generating deterministic keys
ISC License
1.11k stars 447 forks source link

How to translate keystore / private key to mnemonic? #69

Closed mobilesite closed 6 years ago

mobilesite commented 6 years ago

Excuse me! Is there any method to translate keystore / private key to mnemonic, or is it possible? Thank you!

dcousens commented 6 years ago

What do you mean by keystore?

mobilesite commented 6 years ago

@dcousens I mean keystore file of an ethereum wallet.

dcousens commented 6 years ago

No idea about that. But, entropyToMnemonic is probably closest to what you need.

fanatid commented 6 years ago

For extracting private key from keystore you can use https://github.com/ethereumjs/keythereum