go-bip39 icon indicating copy to clipboard operation
go-bip39 copied to clipboard

Command line usage

Open ghost opened this issue 6 years ago • 3 comments

I would like to be able to run this as a stand-alone mnemonic password generator from a terminal like:

$ ./bip39 --entropy=256 --lang=en --mnemoniconly

And grab the password from stdout for use in another program. Would something like this be feasible or within the scope of this project?

ghost avatar Jul 17 '18 06:07 ghost

Not sure when I'll have time to build this but I think it's both feasible and within scope.

In your example, what is the --mnemoniconly flag doing? Or rather, what is returned in addition to the mnemonic without the flag?

tyler-smith avatar Jul 18 '18 16:07 tyler-smith

The --mnemoniconly flag may have been a misread of the code. 😅

ghost avatar Jul 21 '18 15:07 ghost

Thanks @tyler-smith for this library, I wrote a commandline tool for creating keys, mnemonic seeds and HD addresses with this library.

https://github.com/modood/keygen

It is very simple and useful, maybe you should try it. @ghost

modood avatar Jan 08 '20 09:01 modood