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.
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/protocol/take_buy.html https://mostro.network/protocol/take_buy_range_order.html
Must adhere to this design.