diff --git a/404.html b/404.html index 65d2255..a4ca7c2 100644 --- a/404.html +++ b/404.html @@ -89,7 +89,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/actions.html b/actions.html index 93517e9..dbe4836 100644 --- a/actions.html +++ b/actions.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/admin_add_solver.html b/admin_add_solver.html index 29923ee..ca306f6 100644 --- a/admin_add_solver.html +++ b/admin_add_solver.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/admin_cancel_order.html b/admin_cancel_order.html index 8bdab31..ac3ce56 100644 --- a/admin_cancel_order.html +++ b/admin_cancel_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/admin_settle_order.html b/admin_settle_order.html index 03bdf47..c2d81df 100644 --- a/admin_settle_order.html +++ b/admin_settle_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/cancel.html b/cancel.html index f4d56c7..debf647 100644 --- a/cancel.html +++ b/cancel.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/dispute.html b/dispute.html index d7d420c..5f1f691 100644 --- a/dispute.html +++ b/dispute.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/fiatsent.html b/fiatsent.html index 3e375b6..f496ff7 100644 --- a/fiatsent.html +++ b/fiatsent.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/index.html b/index.html index c74a81f..92e51d6 100644 --- a/index.html +++ b/index.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/list_disputes.html b/list_disputes.html index 509de25..cbe8253 100644 --- a/list_disputes.html +++ b/list_disputes.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/list_orders.html b/list_orders.html index b91e050..081aebd 100644 --- a/list_orders.html +++ b/list_orders.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/message_suggestions_for_actions.html b/message_suggestions_for_actions.html index 8eb073a..ec53a87 100644 --- a/message_suggestions_for_actions.html +++ b/message_suggestions_for_actions.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/new_buy_order.html b/new_buy_order.html index b41fa54..c55af5d 100644 --- a/new_buy_order.html +++ b/new_buy_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/new_buy_order_ln_address.html b/new_buy_order_ln_address.html index ba6a421..d0f2dfd 100644 --- a/new_buy_order_ln_address.html +++ b/new_buy_order_ln_address.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/new_sell_order.html b/new_sell_order.html index 65adf9c..98f009b 100644 --- a/new_sell_order.html +++ b/new_sell_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/new_sell_range_order.html b/new_sell_range_order.html index 8fdf34d..5d0883a 100644 --- a/new_sell_range_order.html +++ b/new_sell_range_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/order-event.html b/order-event.html index 5087292..28cbe36 100644 --- a/order-event.html +++ b/order-event.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro @@ -214,8 +214,8 @@ The event Tags d < Order ID >: A unique identifier for the order. -k < Order type >: sell or buy. -f < Currency >: The asset being traded, using the ISO 4217 standard. +k < Order type >: sell or buy. This specifies the type of transaction in terms of bitcoin. "sell" means selling bitcoin, while "buy" indicates buying bitcoin. +f < Currency >: The fiat asset being traded, using the ISO 4217 standard. s < Status >: pending, canceled, in-progress, success. amt < Amount >: The amount of Bitcoin to be traded, the amount is defined in satoshis, if 0 means that the amount of satoshis will be obtained from a public API after the taker accepts the order. fa < Fiat amount >: The fiat amount being traded, for range orders two values are expected, the minimum and maximum amount. @@ -255,6 +255,9 @@ + + + @@ -266,6 +269,9 @@ + + + diff --git a/other_events.html b/other_events.html new file mode 100644 index 0000000..f70530b --- /dev/null +++ b/other_events.html @@ -0,0 +1,295 @@ + + + + + + Other events published by Mostro - Mostro messages specs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro + + + + + + + + + + + + + + + + + + + + + + + Light + Rust + Coal + Navy + Ayu + + + + + + + Mostro messages specs + + + + + + + + + + + + + + + + + + + + + + + + + + Other events published by Mostro +Each Mostro instance periodically publishes events with relevant information about its status, such as the code version it is using, the latest commit, the fees it charges, allowed exchange limits, the relays it publishes to, and much more. Below, we provide details on these events. +Mostro Instance Status +This event contains specific data about a Mostro instance. The instance is identified by the label mostro_pubkey. +[ + "EVENT", + "RAND", + { + "tags": [ + ["d", "info-25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c"], + ["mostro_pubkey", "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c"], + ["mostro_version", "0.12.8"], + ["mostro_commit_id", "69052b2adba6c006e6929afda27f041a427f58f8"], + ["max_order_amount", "20000"], + ["min_order_amount", "100"], + ["expiration_hours", "24"], + ["expiration_seconds", "900"], + ["fee", "0.006"], + ["pow", "0"], + ["hold_invoice_expiration_window", "900"], + ["hold_invoice_cltv_delta", "298"], + ["invoice_expiration_window", "900"], + ["y", "mostrop2p"], + ["z", "info"] + ], + "content": "", + "sig": "db3591d04508db3e5f6ec45ca5c65d6309f7815842d0f166c612cd17f3885deeea1649e6865c301012664ed6631e58bd4e2090712b94aa79a2b571265e3dcb03", + "id": "52556bcd6100131d7918a75d0dd47d39c60ff74ce5045f182f4ace3a1b9e70f1", + "pubkey": "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c", + "created_at": 1731701441, + "kind": 38383 + } +] + +Below is an explanation of the meaning of some of the labels in this event, all of which can be modified by anyone running a Mostro instance. + +mostro_version: The version of the Mostro daemon running on the instance. +mostro_commit_id: The ID of the last commit used by the instance. +max_order_amount: The maximum amount of Satoshis allowed for exchange. +min_order_amount: The minimum amount of Satoshis allowed for exchange. +expiration_hours: The maximum time, in hours, that an order can remain in pending status before it expires. +expiration_seconds: The maximum time, in seconds, that an order can remain in waiting-payment or waiting-buyer-invoice status before being canceled or reverted to pending status. +fee: The fee percentage charged by the instance. For example, "0.006" means a 0.6% fee. +pow: The Proof of Work required of incoming events. +hold_invoice_expiration_window: The maximum time, in seconds, for the hold invoice issued by Mostro to be paid by the seller. +hold_invoice_cltv_delta: The number of blocks in which the Mostro hold invoice will expire. +invoice_expiration_window: The maximum time, in seconds, for a buyer to submit an invoice to Mostro. + +Information about the Relays Where Events Are Published +The operator of a Mostro instance decides which relays the events from that instance are published to. This information can be accessed in events kind 10002, which are published by the Mostro instances. +[ + "EVENT", + "RAND", + { + "tags": [ + [ + "r", + "wss://relay.mostro.network/" + ], + [ + "r", + "wss://nostr.bilthon.dev/" + ] + ], + "content": "", + "sig": "e48c14009871300e92ba66d6d37552c46c8259bf5efa2ef91874e9377cabf849987e9f785f7b8e4a740b691bb76111999d6ef4e703c8765214a7771f8e38e560", + "id": "7a31879cbb4f32b86ca535912ba568722c52845e1517468249b66f9af6eff05c", + "pubkey": "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c", + "created_at": 1731680102, + "kind": 10002 + } +] + +The r label indicates the relays through which the Mostro instance is publishing its events. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/overview.html b/overview.html index c74a81f..92e51d6 100644 --- a/overview.html +++ b/overview.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/print.html b/print.html index b1e3838..994ea8f 100644 --- a/print.html +++ b/print.html @@ -89,7 +89,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro @@ -1509,7 +1509,7 @@ The event Tags d < Order ID >: A unique identifier for the order. -k < Order type >: sell or buy. -f < Currency >: The asset being traded, using the ISO 4217 standard. +k < Order type >: sell or buy. This specifies the type of transaction in terms of bitcoin. "sell" means selling bitcoin, while "buy" indicates buying bitcoin. +f < Currency >: The fiat asset being traded, using the ISO 4217 standard. s < Status >: pending, canceled, in-progress, success. amt < Amount >: The amount of Bitcoin to be traded, the amount is defined in satoshis, if 0 means that the amount of satoshis will be obtained from a public API after the taker accepts the order. fa < Fiat amount >: The fiat amount being traded, for range orders two values are expected, the minimum and maximum amount. @@ -2180,6 +2180,80 @@ Messages specification for peer 2 peer NIP proposal n3xB +Other events published by Mostro +Each Mostro instance periodically publishes events with relevant information about its status, such as the code version it is using, the latest commit, the fees it charges, allowed exchange limits, the relays it publishes to, and much more. Below, we provide details on these events. +Mostro Instance Status +This event contains specific data about a Mostro instance. The instance is identified by the label mostro_pubkey. +[ + "EVENT", + "RAND", + { + "tags": [ + ["d", "info-25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c"], + ["mostro_pubkey", "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c"], + ["mostro_version", "0.12.8"], + ["mostro_commit_id", "69052b2adba6c006e6929afda27f041a427f58f8"], + ["max_order_amount", "20000"], + ["min_order_amount", "100"], + ["expiration_hours", "24"], + ["expiration_seconds", "900"], + ["fee", "0.006"], + ["pow", "0"], + ["hold_invoice_expiration_window", "900"], + ["hold_invoice_cltv_delta", "298"], + ["invoice_expiration_window", "900"], + ["y", "mostrop2p"], + ["z", "info"] + ], + "content": "", + "sig": "db3591d04508db3e5f6ec45ca5c65d6309f7815842d0f166c612cd17f3885deeea1649e6865c301012664ed6631e58bd4e2090712b94aa79a2b571265e3dcb03", + "id": "52556bcd6100131d7918a75d0dd47d39c60ff74ce5045f182f4ace3a1b9e70f1", + "pubkey": "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c", + "created_at": 1731701441, + "kind": 38383 + } +] + +Below is an explanation of the meaning of some of the labels in this event, all of which can be modified by anyone running a Mostro instance. + +mostro_version: The version of the Mostro daemon running on the instance. +mostro_commit_id: The ID of the last commit used by the instance. +max_order_amount: The maximum amount of Satoshis allowed for exchange. +min_order_amount: The minimum amount of Satoshis allowed for exchange. +expiration_hours: The maximum time, in hours, that an order can remain in pending status before it expires. +expiration_seconds: The maximum time, in seconds, that an order can remain in waiting-payment or waiting-buyer-invoice status before being canceled or reverted to pending status. +fee: The fee percentage charged by the instance. For example, "0.006" means a 0.6% fee. +pow: The Proof of Work required of incoming events. +hold_invoice_expiration_window: The maximum time, in seconds, for the hold invoice issued by Mostro to be paid by the seller. +hold_invoice_cltv_delta: The number of blocks in which the Mostro hold invoice will expire. +invoice_expiration_window: The maximum time, in seconds, for a buyer to submit an invoice to Mostro. + +Information about the Relays Where Events Are Published +The operator of a Mostro instance decides which relays the events from that instance are published to. This information can be accessed in events kind 10002, which are published by the Mostro instances. +[ + "EVENT", + "RAND", + { + "tags": [ + [ + "r", + "wss://relay.mostro.network/" + ], + [ + "r", + "wss://nostr.bilthon.dev/" + ] + ], + "content": "", + "sig": "e48c14009871300e92ba66d6d37552c46c8259bf5efa2ef91874e9377cabf849987e9f785f7b8e4a740b691bb76111999d6ef4e703c8765214a7771f8e38e560", + "id": "7a31879cbb4f32b86ca535912ba568722c52845e1517468249b66f9af6eff05c", + "pubkey": "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c", + "created_at": 1731680102, + "kind": 10002 + } +] + +The r label indicates the relays through which the Mostro instance is publishing its events. diff --git a/release.html b/release.html index bd3685c..0bf764d 100644 --- a/release.html +++ b/release.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/seller_pay_hold_invoice.html b/seller_pay_hold_invoice.html index 981e603..71df0a8 100644 --- a/seller_pay_hold_invoice.html +++ b/seller_pay_hold_invoice.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/take_buy.html b/take_buy.html index 4e6c90b..8cddaf4 100644 --- a/take_buy.html +++ b/take_buy.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/take_buy_range_order.html b/take_buy_range_order.html index d12a576..a33b353 100644 --- a/take_buy_range_order.html +++ b/take_buy_range_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/take_sell.html b/take_sell.html index ad63e35..8203710 100644 --- a/take_sell.html +++ b/take_sell.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/take_sell_ln_address.html b/take_sell_ln_address.html index 4042036..4705bd8 100644 --- a/take_sell_ln_address.html +++ b/take_sell_ln_address.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/take_sell_range_order.html b/take_sell_range_order.html index b39e034..524e859 100644 --- a/take_sell_range_order.html +++ b/take_sell_range_order.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro diff --git a/user_rating.html b/user_rating.html index 2365b38..6984bd2 100644 --- a/user_rating.html +++ b/user_rating.html @@ -88,7 +88,7 @@ - Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-69 + Home1. Creating a Sell order2. Creating a Sell range order3. Creating a Buy order4. Creating a Buy order with a LN address5. List orders6. Take sell order7. Take sell order with a LN address8. Take range sell order9. Take buy order10. Take range buy order11. Seller pays hold invoice12. Fiat sent13. Release14. Rate user15. Cancel16. Dispute17. List disputes18. Admin Settle order19. Admin Cancel order20. Admin Add Solver21. Actions21.1. Message suggestions for actions22. P2P Order event. NIP-6923. Other events published by Mostro @@ -226,7 +226,7 @@ Con ["last_rating", "1"], ["max_rate", "2"], ["min_rate", "5"], - ["data_label", "rating"] + ["z", "rating"] ], "content": "", "sig": "456fdc0589a5ffe1b55d5474cef2826bf01f458d63cf409490def9c5af31052e0461d38aed4f386f5dcea999e9fe6001d27d592dbba54a0420687dce0652322f"
d
k
sell
buy
f
s
pending
canceled
in-progress
success
amt
0
fa
Each Mostro instance periodically publishes events with relevant information about its status, such as the code version it is using, the latest commit, the fees it charges, allowed exchange limits, the relays it publishes to, and much more. Below, we provide details on these events.
This event contains specific data about a Mostro instance. The instance is identified by the label mostro_pubkey.
mostro_pubkey
[ + "EVENT", + "RAND", + { + "tags": [ + ["d", "info-25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c"], + ["mostro_pubkey", "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c"], + ["mostro_version", "0.12.8"], + ["mostro_commit_id", "69052b2adba6c006e6929afda27f041a427f58f8"], + ["max_order_amount", "20000"], + ["min_order_amount", "100"], + ["expiration_hours", "24"], + ["expiration_seconds", "900"], + ["fee", "0.006"], + ["pow", "0"], + ["hold_invoice_expiration_window", "900"], + ["hold_invoice_cltv_delta", "298"], + ["invoice_expiration_window", "900"], + ["y", "mostrop2p"], + ["z", "info"] + ], + "content": "", + "sig": "db3591d04508db3e5f6ec45ca5c65d6309f7815842d0f166c612cd17f3885deeea1649e6865c301012664ed6631e58bd4e2090712b94aa79a2b571265e3dcb03", + "id": "52556bcd6100131d7918a75d0dd47d39c60ff74ce5045f182f4ace3a1b9e70f1", + "pubkey": "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c", + "created_at": 1731701441, + "kind": 38383 + } +] +
Below is an explanation of the meaning of some of the labels in this event, all of which can be modified by anyone running a Mostro instance.
mostro_version
mostro_commit_id
max_order_amount
min_order_amount
expiration_hours
expiration_seconds
waiting-payment
waiting-buyer-invoice
fee
pow
hold_invoice_expiration_window
hold_invoice_cltv_delta
invoice_expiration_window
The operator of a Mostro instance decides which relays the events from that instance are published to. This information can be accessed in events kind 10002, which are published by the Mostro instances.
[ + "EVENT", + "RAND", + { + "tags": [ + [ + "r", + "wss://relay.mostro.network/" + ], + [ + "r", + "wss://nostr.bilthon.dev/" + ] + ], + "content": "", + "sig": "e48c14009871300e92ba66d6d37552c46c8259bf5efa2ef91874e9377cabf849987e9f785f7b8e4a740b691bb76111999d6ef4e703c8765214a7771f8e38e560", + "id": "7a31879cbb4f32b86ca535912ba568722c52845e1517468249b66f9af6eff05c", + "pubkey": "25990d8f6e55ede920c826aa219d69b1ab39cae02e489337e88e3b7ec4377c2c", + "created_at": 1731680102, + "kind": 10002 + } +] +
The r label indicates the relays through which the Mostro instance is publishing its events.
r