#3 SplitSats: zaps for settelment
Problems: Payment Settelment ✋
❓ How do we settle the balance between two users?
We want to create a smooth and easy experience for the user when it comes to pay back their friends. The easiest way is to use the lightning zaps that allows the user to directly send sats to his friend LNURL ⚡
🔴 We need a way to confirm that a payment was successful.
One of the first problem we had to face was "How do we verify that payment has actually been made?". Since settlement is automated after payment, we need to know that payment from one user to another was successful! 🤔
Solution: Zaps ⚡
-
Using the zap events, we can offer a simple way to settle your balance: just click "Pay" button, choose your favorite wallet and pay! Easy-peasy 😎
-
Zaps allows us to know whether the payment was successful and to automate the settlement of the accounts. Thanks to the Zap Receipt Event we can use the zap receipt to confirm that an invoice is paid and settle the balance between two users. 🧾