Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

How to use the mnemonic to create a private key, public key, address? #19

Open
tangmingkao opened this issue Mar 5, 2019 · 2 comments

Comments

@tangmingkao
Copy link

How to use the mnemonic to create a private key, public key, address?

@majestic84
Copy link

Litecore doesn't have built in BIP39 support, but bitcoinjs does. If BIP39 is all you're after, you can still use bitcoinjs for the key generation, and litecore/insight for everything else.

https://github.com/bitcoinjs/bip39

Example usage: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/bip32.js

My modified version for Litecoin: https://github.com/majestic84/bitcoinjs-lib

@tangmingkao
Copy link
Author

At your prompt, I solved this problem, thank you very much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants