You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/add_bond_invoice.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,6 @@ Mostro sends a single `add-bond-invoice` message to the non-slashed counterparty
39
39
]
40
40
```
41
41
42
-
-`bond_payout_request.order.amount` is the counterparty's share of the slashed bond in sats. The reply's bolt11 principal must match this value exactly.
43
42
-`bond_payout_request.slashed_at` is the Unix timestamp (seconds, UTC) at which the slash was recorded — see [Forfeit deadline](#forfeit-deadline).
44
43
45
44
The message carries no hardcoded human-readable deadline text; the client renders that warning locally in the user's own locale from `slashed_at` and the info-event window tag.
The counterparty replies with a Gift wrap Nostr event whose rumor content carries the bolt11 inside the standard `payment_request`3-tuple. The third element is `null` because the invoice carries its own amount:
61
+
The counterparty replies with a Gift wrap Nostr event whose rumor content carries the bolt11 inside the standard `payment_request`array. The invoice carries its own amount, so the array has two elements (per [Payment Request Array Structure](./overview.md#payment-request-array-structure)):
63
62
64
63
```json
65
64
[
@@ -71,8 +70,7 @@ The counterparty replies with a Gift wrap Nostr event whose rumor content carrie
71
70
"payload": {
72
71
"payment_request": [
73
72
null,
74
-
"lnbcrt5u1pj59wmepp5...",
75
-
null
73
+
"lnbcrt5u1pj59wmepp5..."
76
74
]
77
75
}
78
76
}
@@ -81,11 +79,11 @@ The counterparty replies with a Gift wrap Nostr event whose rumor content carrie
81
79
]
82
80
```
83
81
84
-
The reply is signed with the **trade key** of the counterparty side — the side that was *not* slashed — exactly as in any other order-scoped action; see [Keys management](./key_management.md).
82
+
The reply is signed with the **trade key** of the counterparty side, the side that was *not* slashed, exactly as in any other order-scoped action; see [Keys management](./key_management.md).
85
83
86
84
## Recipient resolution
87
85
88
-
The recipient of the request DM is the non-slashed counterparty of the trade, derived from the order's `buyer_pubkey` / `seller_pubkey` and the side the solver flagged in [`bond_resolution`](./admin_settle_order.md#bond-resolution-payload):
86
+
The recipient of the request message is the non-slashed counterparty of the trade, derived from the order's `buyer_pubkey` / `seller_pubkey` and the side the solver flagged in [`bond_resolution`](./admin_settle_order.md#bond-resolution-payload):
89
87
90
88
| Order kind | Solver flag | Bond on … | Recipient |
0 commit comments