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.
#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 🚀🚀🚀