Research/Bitcoin Dev Archive / lightning-dev list
GUI for Lightning Network?
11 messages, Dec 13, 2015. Started by Denis Gorbachev.
Denis Gorbachev (5), Luke Dashjr (2), Lawrence Botley (2), gb, Mark F
Hi everybody,
Do you think it's a good idea to write a GUI for LN node management?
Which features would you like to see there?
On Sun, 2015-12-13 at 01:03 +0000, Denis Gorbachev wrote:
Quoted text (5 lines)
> Hi everybody, > > > Do you think it's a good idea to write a GUI for LN node management? >
Yes.
Quoted text (3 lines)
> > Which features would you like to see there? > --
All of them.
Quoted text (6 lines)
> > @DenGorbachev > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev
Hi Greg, thanks for encouragement :) What's the most important thing you want to see in the GUI? Like, where should I start?
On Sun, Dec 13, 2015 at 8:07 AM gb <kiwigb at yahoo.com> wrote:
Quoted text (20 lines)
> On Sun, 2015-12-13 at 01:03 +0000, Denis Gorbachev wrote: > > Hi everybody, > > > > > > Do you think it's a good idea to write a GUI for LN node management? > > > Yes. > > > > Which features would you like to see there? > > -- > All of them. > > > > @DenGorbachev > > _______________________________________________ > > Lightning-dev mailing list > > Lightning-dev at lists.linuxfoundation.org > > https://www.learnbitcoin.com/archive/lists/lightning-dev > > > --
@DenGorbachev <https://twitter.com/DenGorbachev>
On Sunday, December 13, 2015 1:03:12 AM Denis Gorbachev wrote:
Quoted text (5 lines)
> Hi everybody, > > Do you think it's a good idea to write a GUI for LN node management? > > Which features would you like to see there?
I would like to see it transparently supported in Bitcoin Core GUI, using an external library.
Luke
Luke,
Are you talking about the wallet integration or LN node management?
Suppose you are running an intermediary LN node. You want to compare your fees for current month VS previous month. You can do that with command line (dump the logs, parse them, etc) or you can do that with GUI.
Two questions: - Is this a real use case? - Why not implement it as web application that connects to LN node backend?
On Sun, Dec 13, 2015 at 8:30 AM Luke Dashjr <luke at dashjr.org> wrote:
Quoted text (13 lines)
> On Sunday, December 13, 2015 1:03:12 AM Denis Gorbachev wrote: > > Hi everybody, > > > > Do you think it's a good idea to write a GUI for LN node management? > > > > Which features would you like to see there? > > I would like to see it transparently supported in Bitcoin Core GUI, using > an > external library. > > Luke >
This line of thinking is technically informed. Lightning nodes will have to be on 24/7 in order to be routed through, so it is probably better to approach this the same way one would a server daemon: your favorite back-end API stack (REST, JSON-RPC, whatever) with request authentication, copious logs, and some sort of authenticated web interface to view pretty graphs. A mobile command and control application would be gravy.
That said, there is probably room for a "lite mode" client which is an endpoint -- it is not online 24/7 to be routed through, but can send or receive payments when turned on. The correct approach here is to probably integrate with existing wallets as another payment type.
On Sun, Dec 13, 2015 at 10:08 AM, Denis Gorbachev < denis.d.gorbachev at gmail.com> wrote:
Quoted text (37 lines)
> Luke, > > Are you talking about the wallet integration or LN node management? > > Suppose you are running an intermediary LN node. You want to compare your > fees for current month VS previous month. You can do that with command line > (dump the logs, parse them, etc) or you can do that with GUI. > > Two questions: > - Is this a real use case? > - Why not implement it as web application that connects to LN node > backend? > > On Sun, Dec 13, 2015 at 8:30 AM Luke Dashjr <luke at dashjr.org> wrote: > >> On Sunday, December 13, 2015 1:03:12 AM Denis Gorbachev wrote: >> > Hi everybody, >> > >> > Do you think it's a good idea to write a GUI for LN node management? >> > >> > Which features would you like to see there? >> >> I would like to see it transparently supported in Bitcoin Core GUI, using >> an >> external library. >> >> Luke >> > -- > @DenGorbachev <https://twitter.com/DenGorbachev> > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev > >
On Sunday, December 13, 2015 2:08:47 AM Denis Gorbachev wrote:
Quoted text (1 line)
> Are you talking about the wallet integration or LN node management?
I don't see a distinction. Why wouldn't every wallet be a LN node?
Quoted text (3 lines)
> Suppose you are running an intermediary LN node. You want to compare your > fees for current month VS previous month. You can do that with command line > (dump the logs, parse them, etc) or you can do that with GUI.
Seems to me reports on various transactions would be a useful feature in general, not necessarily tied to LN.
Luke
Mark: I think your approach is best, putting the effort into an RPC interface leads the way for agnostic web clients with OTP as standard. yubikey support would be great.
On Sun, Dec 13, 2015 at 6:38 AM, Luke Dashjr <luke at dashjr.org> wrote:
Quoted text (19 lines)
> On Sunday, December 13, 2015 2:08:47 AM Denis Gorbachev wrote: > > Are you talking about the wallet integration or LN node management? > > I don't see a distinction. Why wouldn't every wallet be a LN node? > > > Suppose you are running an intermediary LN node. You want to compare your > > fees for current month VS previous month. You can do that with command > line > > (dump the logs, parse them, etc) or you can do that with GUI. > > Seems to me reports on various transactions would be a useful feature in > general, not necessarily tied to LN. > > Luke > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev >
On Sun, Dec 13, 2015 at 1:39 PM Luke Dashjr <luke at dashjr.org> wrote:
Quoted text (5 lines)
> On Sunday, December 13, 2015 2:08:47 AM Denis Gorbachev wrote: > > Are you talking about the wallet integration or LN node management? > > I don't see a distinction. Why wouldn't every wallet be a LN node? >
Because there's a risk of being hacked.
As I see it, running a node is a business. It's not like putting your money in a bank and forgetting about it, because you need to run a server 24/7 or be out-competed by other nodes. Running a server means having to deal with security & updates. Is that correct?
Quoted text (9 lines)
> > > Suppose you are running an intermediary LN node. You want to compare your > > fees for current month VS previous month. You can do that with command > line > > (dump the logs, parse them, etc) or you can do that with GUI. > > Seems to me reports on various transactions would be a useful feature in > general, not necessarily tied to LN. >
Yes, you're right - thanks for pointing out.
Quoted text (3 lines)
> > Luke >
Mark, Lawrence: yes, agree on both points. So there will be: 1. Endpoints (consumers + providers) 2. Relays (the LN nodes I was talking about - sorry for putting them in the same basket with endpoints)
Endpoints need to be integrated into wallets. Relays need to be standalone, with their own management console.
Correct?
On Sun, Dec 13, 2015 at 4:20 PM Lawrence Botley <lawrence.botley at gmail.com> wrote:
Quoted text (30 lines)
> Mark: I think your approach is best, putting the effort into an RPC > interface leads the way for agnostic web clients with OTP as standard. > yubikey support would be great. > > On Sun, Dec 13, 2015 at 6:38 AM, Luke Dashjr <luke at dashjr.org> wrote: > >> On Sunday, December 13, 2015 2:08:47 AM Denis Gorbachev wrote: >> > Are you talking about the wallet integration or LN node management? >> >> I don't see a distinction. Why wouldn't every wallet be a LN node? >> >> > Suppose you are running an intermediary LN node. You want to compare >> your >> > fees for current month VS previous month. You can do that with command >> line >> > (dump the logs, parse them, etc) or you can do that with GUI. >> >> Seems to me reports on various transactions would be a useful feature in >> general, not necessarily tied to LN. >> > >> Luke >> > >> _______________________________________________ >> Lightning-dev mailing list >> Lightning-dev at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/lightning-dev >> > --
@DenGorbachev <https://twitter.com/DenGorbachev>
I would say a very real use-case and concur with metrics.
AdminLTE is an open source web admin template and supports multiple charting libraries and has a decent dashboard. - https://almsaeedstudio.com/preview
Id be very interesting in implementing this with a nodejs RPC wrapper.
Here is one I wrote for Ethereum
https://github.com/LawrenceBotley/EthereumRpc-NET
On Sun, Dec 13, 2015 at 2:08 AM, Denis Gorbachev < denis.d.gorbachev at gmail.com> wrote:
Quoted text (37 lines)
> Luke, > > Are you talking about the wallet integration or LN node management? > > Suppose you are running an intermediary LN node. You want to compare your > fees for current month VS previous month. You can do that with command line > (dump the logs, parse them, etc) or you can do that with GUI. > > Two questions: > - Is this a real use case? > - Why not implement it as web application that connects to LN node > backend? > > On Sun, Dec 13, 2015 at 8:30 AM Luke Dashjr <luke at dashjr.org> wrote: > >> On Sunday, December 13, 2015 1:03:12 AM Denis Gorbachev wrote: >> > Hi everybody, >> > >> > Do you think it's a good idea to write a GUI for LN node management? >> > >> > Which features would you like to see there? >> >> I would like to see it transparently supported in Bitcoin Core GUI, using >> an >> external library. >> >> Luke >> > -- > @DenGorbachev <https://twitter.com/DenGorbachev> > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev > >