Keyring allows you to manage a set of keys and help create account/wallet addresses.
Source
Code example
Run the file at the path below, also refer the Github link attached below.
ts-node src/2-accounts/create-account.ts
Note: Inline comments are in the code to understand the functionality and API.
Save the Mnenomic generated :
loan raw coconut author immense hover tackle hockey used keep play snap
Save the Address generated :
5GEbkFY4vcyC9jtz2HoCMdeFRNE64betXxSdpW5GBUT11j1V
Sample output
Save the mnemonic and address generated from the above example
Note The mnemonic and address generated will be unique when you run the program above.