From e2d5825df0c64de6ac4c50c7c69714b1abc54e05 Mon Sep 17 00:00:00 2001 From: Spencer Dupre Date: Mon, 9 Sep 2019 05:37:23 -0400 Subject: [PATCH] docs: update INSTALL.md to include first wallet creation (#3403) Add 'Creating a wallet' section, explaining that 'lncli create' must be run with a new instance. Also describe the password prompt and mnemonic this command presents to the user. --- docs/INSTALL.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 2141a6dd..8c6f8e17 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -12,6 +12,7 @@ * [Running lnd using the btcd backend](#running-lnd-using-the-btcd-backend) * [Using Neutrino](#using-neutrino) * [Using bitcoind or litecoind](#using-bitcoind-or-litecoind) +* [Creating a Wallet](#creating-a-wallet) * [Macaroons](#macaroons) * [Network Reachability](#network-reachability) * [Simnet vs. Testnet Development](#simnet-vs-testnet-development) @@ -364,6 +365,20 @@ lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug --bitcoin.node=bitcoin `lnd` plus any application that consumes the RPC could cause `lnd` to miss crucial updates from the backend. + +# Creating a wallet +If `lnd` is being run for the first time, create a new wallet with: +``` +lncli create +``` +This will prompt for a wallet password, and optionally a cipher seed +passphrase. + +`lnd` will then print a 24 word cipher seed mnemonic, which can be used to +recover the wallet in case of data loss. The user should write this down and +keep in a safe place. + + # Macaroons `lnd`'s authentication system is called **macaroons**, which are decentralized