Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #15

Open
grunch opened this issue Oct 11, 2024 · 0 comments
Open

Release #15

grunch opened this issue Oct 11, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@grunch
Copy link
Member

grunch commented Oct 11, 2024

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

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

@grunch grunch added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant