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

Cancel cooperatively #15

Open
Catrya opened this issue May 13, 2024 · 0 comments
Open

Cancel cooperatively #15

Catrya opened this issue May 13, 2024 · 0 comments
Labels
help wanted Extra attention is needed 🪙 Reward in Sats ⚡ Resolving this issue has a reward in sats

Comments

@Catrya
Copy link
Collaborator

Catrya commented May 13, 2024

A user can cancel an active order, but will need the counterparty to agree.

To initiates a cooperative cancellation the user have to send a message to Mostro with the action cancel and Mostro responds back with a message with the action: "cooperative-cancel-initiated-by-you"

Also Mostro will send a message to the user's counterparty with the action: "cooperative-cancel-initiated-by-peer" and if they accept the cooperative cancellation they must send Mostro a message with the action "cancel"

Then Mostro will send a message to both parties informing that their order was canceled cooperatively.

Reference: https://mostro.network/protocol/cancel.html#cancel-cooperatively

@Catrya Catrya added the 🪙 Reward in Sats ⚡ Resolving this issue has a reward in sats label May 13, 2024
@Catrya Catrya moved this to 🧑‍💻 Looking for Dev in Rewards board ⚡👩‍💻 May 13, 2024
@grunch grunch added the help wanted Extra attention is needed label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed 🪙 Reward in Sats ⚡ Resolving this issue has a reward in sats
Projects
Status: No status
Development

No branches or pull requests

2 participants