getumbrel / umbrel-lightning

The official Lightning Node app for Umbrel, powered by LND.

Home Page:https://umbrel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement auto-unlock functionality

nolim1t opened this issue · comments

Theres a new feature which i mentioned in getumbrel/umbrel#838 which lets you unlock through LND

It requires the following configuration settings to be added

wallet-unlock-password-file=/path/to/passwordfile
wallet-unlock-allow-create=true

I implemented everything of that in https://github.com/runcitadel/, https://github.com/runcitadel/middleware/blob/main/services/lnd.ts might be interesting for Umbrel to implement the new state service in Umbrel too.

Referencing getumbrel/umbrel-manager#85 as this slightly changed the lock logic.

if we can make the setting in https://github.com/lukechilds/umbrel-manager/blob/6b668eb20e586a8d88841f5c044cfb8a39fdf0d5/utils/const.js generate an "unlock file" it might be fix a lot of things