pull down to refresh

It doesn't make sense to keep a LN invoice active more than 1h, especially for an intermediary proxy.
Just think about its process:
  • you start your Zeus and is synced
  • create the invoice and "inform" the Zeus node about wrapped invoice. The invoice have added route hints.
  • Zeus is forwarding that invoice to the payer
  • Zeus is taking the payment and trying to forward the payment to your Zeus
  • your Zeus is closed in this 1+ h window because you didn't kept your Zeus in persistent mode (Zeus node doesn't know if/when you keep your app in persistent mode) and then your node is offline...
  • Zeus in this case will end up with a pending HTLC or rejecting the payment. That could create a lot of friction and issues and for what, for 2 sats fee? Is not worth it.
I think even 1h is too much expiry time for a wrapped invoice. LN invoices from a mobile node should be paid as fast as is possible, with good routes that will avoid force closures.
Unfortunately I have a real (although not very important) use case of sender and receiver not being online at the same time (due to different schedules and timezones). I thought pending HTLC, although frowned upon, are permitted (so called hodl invoices).
reply
117 sats \ 2 replies \ @anon 12 Dec
For this use case you want to use the lightning address service instead.
You can get a free @zeuspay.com address under Menu > Lightning address is the ZEUS app
reply
I have that and used it for other use cases, but unfortunately with lightning address you can't have proof of payment (preimage connected to a specific amount paid). And I also need that.
reply
A lightning address is just fetching an invoice over http, there's no difference in how the invoice is settled... it's just created on-the-fly
With more details on your use-case maybe our nostr-offers are a better solution: #804946
reply
For this use case I would recommend to use Zeus with a remote LN node (24/7 online) not the embedded one and using keysend or AMP invoices (static invoices with amount).
reply
I might do this in the future, but currently this is too much friction for me. I don't have a device to run my own node on.
reply
Understandable. Just keep in mind that is a limitation by the wrapper server. Anyways, keep your Zeus in persistent mode during these payments.
reply