Just realized with the new pending zap feature in damus you can send lightning payments offline… it will stayed queued until you’re back online again. We just need to persist queued notes between app restarts.

Reply to this note

Please Login to reply.

Discussion

👀

> We just need to persist queued notes between app restarts.

Use a relay for persistence by sending an encrypted message to self?

if you’re offline you can’t send to a relay. We have a mailbox concept in damus (called the PostBox) that retries notes until it succeeds. We just need to persist postbox contents so it can resume trying after app restarts

In this case the NWC payment request is queued in the postbox when using one tap zaps, when it receives a NWC result it is removed.

Makes sense 🙏

That would be great 👀😳

Will the instant zap only work with getalby connected or will it work with Strike too?

If strike implements nip47 it would just be a matter of scanning their nip47 qrcode. They would have to do that though.

#[4]

👀

👀💜🫂⚡️

Is this with NIP-47 Alby version?

What is alby version ?

Didn't they alter the NIP-47 proposal?

Yeah its the official one now… everyone is using that

Ah I missed that, thanks!

Sick! 👀

How to post photo/jpg in Dm ?

I'm impressed!

I'm skeptical. Starting a payment and making a payment are different things.

Can you please add to translate button

I would think the issue is if I send that same payment from my node from a different interface where I’m online that I could spend the same funds and screw the person I made the offline promise of payment to