talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia-labs.github.io/talaia.watch/
MIT License
136 stars 63 forks source link

Integrate the watchtower-plugin into CLN on Umbrel #207

Open mariocynicys opened 1 year ago

mariocynicys commented 1 year ago

Umbrel is what a lot of lightning node runners host their nodes on, because it has an easy to use interface and it's easy to install applications on. Applications on Umbrel are like applications on an app store, and these applications can be any app you can think of, running inside a docker container, and has a web interface that is accessible from one's Umbrel endpoint.

There is a Core-Lightning (CLN) application available on Umbrel to run CLN nodes. We can add the watchtower-plugin to Umbrel and integrate it with CLN.

I think this could be done in one of two ways:

sr-gi commented 1 year ago

I think this is a great idea. I'd link it to the SoB project about building the GUI for teos, they may get along well.

sr-gi commented 1 year ago

Related to #192

anipaul2 commented 1 year ago

Hi @sr-gi , Are there any specific design guidelines or requirements for creating a new app or modifying an existing one on Umbrel that I should be aware of before proceeding?

sr-gi commented 1 year ago

Nope, we haven't worked with Umbrel before, so all needs to be done from scratch.

Using an existing app as the base is an option, and most likely recommend.

anipaul2 commented 1 year ago

Nope, we haven't worked with Umbrel before, so all needs to be done from scratch.

Using an existing app as the base is an option, and most likely recommend.

okay.

jonmarrs commented 1 year ago

Why not make a watchtower-plugin Umbrel app that works with LND as well?

sr-gi commented 1 year ago

For that to work we'd need a way to pull the required information from LND, however, LND does not expose that publicly, so currently there is no way of doing so.

jonmarrs commented 1 year ago

So you're basically saying that watchtowers only work for CLN, not LND?

mariocynicys commented 1 year ago

So you're basically saying that watchtowers only work for CLN, not LND?

I beleive LND has their built-in 3rd party watchtower. The watchtower plugin (the one we are talking about in this thread) though only works for CLN.

jonmarrs commented 1 year ago

Interesting. I wonder if we could request that LND make the required interface public.

sr-gi commented 1 year ago

So you're basically saying that watchtowers only work for CLN, not LND?

No, that's certainly not what I'm saying. LND does has it's own watchtower, but it uses a private interface to interact with the node that third party software has no access to.

Interesting. I wonder if we could request that LND make the required interface public.

I've tried to talk them into it for years, but I encourage you to try. Maybe the more people requesting it the better.

moneyball commented 1 year ago

Is there an open LND GitHub issue detailing what is needed to make TEOS work with LND?

sr-gi commented 1 year ago

Is there an open LND GitHub issue detailing what is needed to make TEOS work with LND?

I don't think there is, but I'm happy to open one at this point.

sr-gi commented 1 year ago

https://github.com/lightningnetwork/lnd/issues/7680 @moneyball