getumbrel / umbrel-lightning

The official Lightning Node app for Umbrel, powered by LND.
https://umbrel.com
Other
16 stars 8 forks source link

Implement auto-unlock functionality #22

Open nolim1t opened 3 years ago

nolim1t commented 3 years ago

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
AaronDewes commented 3 years ago

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.

nolim1t commented 3 years ago

Referencing https://github.com/getumbrel/umbrel-manager/pull/85 as this slightly changed the lock logic.

nolim1t commented 3 years ago

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