An open Nostr + Lightning protocol

A review.
A receipt.
A reason
to trust.

One review per settled payment. Receipt-Bound Review connects what was paid for with what is said about it — on open, verifiable rails.

Draft specification + working verifier. Provisional kinds; not a registered NIP or independent proof of settlement on the happy path.

Fig. 01 / The binding
Concept receipt

The payment
is the starting point.

01 / PaymentSettled
02 / ReviewReceipt-bound
03 / VerificationPublic
One payment. One review.
Illustration / not a live receipt

01 / The principle

From payment
to a public proof.

A payment can anchor a review. It cannot prove that an opinion is fair, or that a seller delivered well.

01 — ATTEST BEFORE PAYMENT

Begin with the buyer.

Buyer selects a NIP-99 listing. Seller generates an invoice and nonce, then signs the order attestation before payment. Invoice and nonce travel privately.

02 — BUYER-SIGNED REVIEW

No receipt, no review.

After payment, the buyer signs a review bound to the attestation and its commitment. The seller has no veto over a negative review.

03 — OPEN VERIFICATION

Check the event graph.

Independent clients verify signatures, references, ordering and status. Happy-path verification trusts the attestation plus review; only optional buyer-disclosed proof independently demonstrates the settlement commitment.

02 / Open specification

Small surface.
Explicit rules.

Receipt-Bound Review is an open, neutral protocol layer on Nostr + Lightning. Product layers are out of scope. Every state change is a new status event; the verifier ignores NIP-09 deletion requests.

Read the full draft specification (CC0) · Run the reference demo

Event kinds — PROVISIONAL, not registered

3881 order attestation — seller, before payment.
3882 review — buyer, after payment.
3883 purchase certificate — seller, after delivery with explicit buyer consent.
3884 status — buyer or seller. These are regular, non-replaceable kinds. Numbers remain reserved draft choices for Thomas and must be checked against the NIPs registry before registration. Listings use NIP-99 30402.

Verification — rules 1–9
  1. Review signature valid.
  2. Referenced attestation exists, seller signature valid, and attestation predates review.
  3. Attestation p equals review author.
  4. Commitment matches.
  5. Referenced seller listing exists on a queried relay (local event store in the offline demo).
  6. Earliest review by this author for this attestation wins; later reviews are duplicates.
  7. Author withdrawal hides ratings ≥ 4; ratings ≤ 3 remain visible with withdrawn flag. NIP-09 is ignored.
  8. Seller refund keeps the review visible with refunded badge.
  9. Buyer settlement proof verifies preimage and nonce against commitment.
Settlement proof — a buyer choice, only for disputes

Happy path: preimage remains private. Dispute path: buyer publishes preimage and order_nonce in a settlement-proof status. SHA-256(preimage) derives payment_hash; SHA-256(payment_hash || order_nonce) must match commitment. This deliberately reveals linkage and is never required for a normal review.

Status vocabulary and result

Types: dispute, refund, resale, withdrawn, settlement-proof.
Flags: withdrawn, refunded, disputed, settlement-proven.
{"valid":true,"reason":null,"flags":["refunded"]}
A resale status does not transfer a certificate.

03 / Two reference perspectives

See the idea in context.

Separate reference demos explore the same protocol from a developer’s desk and an independent atelier.

An explicit boundary.

RBR does not attest authenticity, ongoing ownership, delivery, attention metrics, self-purchase or Sybil resistance, relay availability, KYC, or certificate transfer on resale. Public attestations still link buyer and listing; hiding payment material does not make purchases anonymous.

Club Orange / GeoZap and other paid-attention products are collaborators outside RBR (use case 03), never part of settlement, attestation or verification. Public/private purchase certificates are use case 02; receipt-linked reviews are use case 01.