lnd.xprv/cmd/lncli
Johan T. Halseth 00ee3afab8 lncli: add commands "create" and "unlock"
lncli create:
This command is used to set up a wallet encryption password for
use with lnd at first time use. It will ask fot the user to
confirm the chosen password, then do a call to the lnd RPC method
CreateWallet with the chosen password.

lncli unlock:
This command is used to unlock the wallet of a running lnd instance.
It calls the RPC method UnlockWallet with the provided password.

Both methods makes use of the terminal.ReadPassword method, to
securely read a password from user input without making it
replayable in the terminal.
2017-10-19 19:17:35 -07:00
..
commands.go lncli: add commands "create" and "unlock" 2017-10-19 19:17:35 -07:00
main.go lncli: add commands "create" and "unlock" 2017-10-19 19:17:35 -07:00