MostroP2P / mobile

Mobile client for Mostro p2p
6 stars 4 forks source link

Release #13

Open Catrya opened 5 months ago

Catrya commented 5 months ago

When the the seller verifies that they has already received the fiat that the buyer sent, have to send a message to Mostro indicating that sats should be delivered to the buyer. I think a good UX would involve incorporating a button for the seller to tap to indicate the release Then Mostro response to the seller that their hold invoice has already been collected.

Also Mostro send a message to the buyer to let him know that the sats were released from the seller and Mostro will try to pay the buyer's lightning invoice. Example: "Seller has already released the satoshis, you must wait for your invoice to be paid." Mostro updates the event 38383 about that order to change the status to settled-hold-invoice

If the payment is successful Mostro will send a message to the buyer indicating that the purchase was completed. Example: "Your satoshis purchase has been completed successfully, I have paid your invoice, enjoy sound money!" Mostro updates the the event 38383 about that order to change the status to success

Must adhere to this design.

Reference: https://mostro.network/protocol/release.html