Skip to content

I forgot wallet password #8114

Answered by guggero
Gugg-Z asked this question in Q&A
Oct 25, 2023 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

You can't, otherwise the password wouldn't be secure after all. What you can do is re-create the wallet from the seed:

  1. Stop lnd. Rename ~/.lnd/data/chain/bitcoin/mainnet/wallet.db to wallet.db.backup (or something like that).
  2. Delete ~/.lnd/data/chain/bitcoin/mainnet/macaroons.db and all *.macaroon files in ~/.lnd/data/chain/bitcoin/mainnet/.
  3. DO NOT DELETE OR MOVE ANY OTHER FILES!
  4. Start lnd.
  5. Run lncli wallet create and enter the mnemonic phrase.
  6. This will re-scan the chain and can take a couple of hours, don't interrupt the process and watch the log for progress.
  7. Once the wallet is re-scanned, all channels should come online again normally.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Gugg-Z
Comment options

@guggero
Comment options

@Gugg-Z
Comment options

@guggero
Comment options

@Gugg-Z
Comment options

Answer selected by Gugg-Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants