mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-17 00:11:05 +02:00
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.