00ee3afab8
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. |
||
---|---|---|
.. | ||
commands.go | ||
main.go |