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

Take buy order #10

Open
grunch opened this issue Oct 10, 2024 · 1 comment
Open

Take buy order #10

grunch opened this issue Oct 10, 2024 · 1 comment
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 10, 2024

To take an order the seller will send to Mostro a Nostr event kind 4 saying the order that wants to take. Then Mostro sends back a message with the hold invoice that seller have to pay. Also Mostro updates the Nostr event 38383 about that order to change the status to waiting-payment. And send a message to the buyer advising that is waiting for the seller to pay.

After seller pays the hold invoice Mostro send a message to the seller advising that is waiting for the buyer invoice. Mostro updates the event 38383 about that order to change the status to waiting-buyer-invoice.

This issue should address cases with range orders, sending the amount.

References:
https://mostro.network/messages/take_buy.html
https://mostro.network/messages/take_buy_range_order.html

@grunch grunch added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 10, 2024
@Catrya
Copy link
Contributor

Catrya commented Nov 12, 2024

Hi @grunch i want to take this issue

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

Successfully merging a pull request may close this issue.

2 participants