docs(agents): record the barter-deposit affordance
This commit is contained in:
parent
4f0416c23d
commit
9a82483cd3
1 changed files with 5 additions and 1 deletions
|
|
@ -190,7 +190,11 @@ session with **no other memory of this project**. So:
|
|||
⚠️ A receipt proves the **PAYMENT, not delivery** — and applies to **money
|
||||
legs only**: a pure hardware swap has no invoice → no preimage → it stays
|
||||
*attested*; the `deposit` proof is the lever that gives barter a real cost.
|
||||
**Never** promote a barter or a plain `lninvoice` claim to verified.
|
||||
**Never** promote a barter or a plain `lninvoice` claim to verified. The
|
||||
**barter deposit** is now a UI affordance: `ListingTradeActions` shows a
|
||||
"Good-faith deposit" input for `price_type=trade` listings; paying it stores a
|
||||
**deposit-slot** receipt (`saveReceipt(coord, r, 'deposit')`) that the buyer's
|
||||
confirm attaches as `depositProof` (`method=trade`).
|
||||
- **Cashu escrow** (marketplace): time-locked **P2PK** (lock to seller + buyer
|
||||
refund key + locktime) — see **`ESCROW.md`** and `src/lib/cashuEscrow.ts`
|
||||
(unit-tested). Protocol: `cashu_token` on the `31872`; each user advertises a
|
||||
|
|
|
|||
Loading…
Reference in a new issue