https://github.com/hebilicious/mnemonic-to-private-key
Convert a mnemonic phrase to a private key
https://github.com/hebilicious/mnemonic-to-private-key
Last synced: about 1 year ago
JSON representation
Convert a mnemonic phrase to a private key
- Host: GitHub
- URL: https://github.com/hebilicious/mnemonic-to-private-key
- Owner: Hebilicious
- License: mit
- Created: 2021-03-18T20:10:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T08:48:44.000Z (over 2 years ago)
- Last Synced: 2025-03-18T18:00:27.184Z (about 1 year ago)
- Language: JavaScript
- Size: 975 KB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mnemonic to private key
Small package that can convert a seed phrase to a master private key and a public address.
Can be used to generate those as well.
## How to use
```bash
#Generate SeedPhrase, Private Key, Wallet and Keystore
npx mnemonic-to-private-key
# Convert SeedPhrase to private key, wallet and keystore
npx mnemonic-to-private-key "garlic pupil february legend morning bright section stool action stadium course busy" password #This is the keystore password
```
If you want to use within a script, you can import the source files directly, like in the tests.
Enjoy 🚀🚀🚀