Skip to content

Added support of lnd seed phrase in the pod config.#786

Closed
randomlogin wants to merge 2 commits intobitcoin-dev-project:mainfrom
randomlogin:main
Closed

Added support of lnd seed phrase in the pod config.#786
randomlogin wants to merge 2 commits intobitcoin-dev-project:mainfrom
randomlogin:main

Conversation

@randomlogin
Copy link

It's possible to set the lnd seed mnemonic in the pod config in the following way:

cipherSeedMnemonic: [above, rookie, pioneer, pen, truck, board, spatial, pond, destroy, civil, vote, zebra, coral, love, height, price, nephew, better, bar, wife, chaos, clock, pottery, rifle]

If this field is absent, it fallbacks to seed generation via rpc.

For (any) backward compatibility, if the seed is provided in the config, it is also written to /tmp/genseed.json (thought without encrypted field).

@pinheadmz
Copy link
Contributor

I dont mind also writing the phrase to the data dir in plain text, but I think it should still be generated randomly when the pod starts. I also don't totally understand the use case yet. What do you need it for?

@pinheadmz
Copy link
Contributor

Actually I just realized this request has been satisfied inadvertently by #776 which saves the seed to disk during startup to make wallet init more reliable:

(.venv) --> k exec armada-1-ln -- cat /tmp/genseed.json
{"cipher_seed_mnemonic":["abstract", "pigeon", "hammer", "kiss", "seed", "square", "story", "sure", "pen", "cigar", "escape", "fee", "involve", "lava", "lend", "wrist", "kind", "palm", "enough", "carbon", "heavy", "uncle", "illegal", "hungry"], "enciphered_seed":"APSVoj1sL6b1ptCiZR00Kkdi+5//83qT6SuRNqfZHEN6"}

I'll add this command to the hints in Wrath of Nalo.

@pinheadmz pinheadmz closed this Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants