tyler-smith / go-bip39

The BIP39 library for Go.
MIT License
556 stars 196 forks source link

Command line usage #20

Open ghost opened 6 years ago

ghost commented 6 years ago

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?

tyler-smith commented 6 years ago

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?

ghost commented 6 years ago

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

modood commented 4 years ago

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