Bindings: what work is for
A binding is a value committed inside a note that says what the work was done for.
Raw work becomes a use
A note without a binding is just energy. The binding scopes it. Because the binding is inside the hashed record, it cannot be changed after mining without redoing the work. The protocol treats it as opaque bytes; the application decides what it commits.
| Binding commits | The note becomes |
|---|---|
| nothing | prepaid energy: mine now, spend later wherever accepted |
| your own reaction event | a like backed by work that bots cannot fake cheaply |
| a service and its epoch | access paid in work, spent once at that service |
| a work offer | work that earns a share of a reward |
| a sale | a bid in that sale |
Finding the work behind something
A bound note carries a b tag with the binding in hex. To see the energy behind a binding, query relays for kind:1723 with that #b value, verify each note, and add their weights per algorithm. Count each proof once: the same note can be republished in many events.
Work offers
An issuer publishes a work offer (SNP-04) naming an algorithm, a minimum Z-bit and a template. Workers bind their notes to the offer's id, so the work is tied to that exact template forever. An offer can also reward work bound to an existing event (target), or to signed events of a given kind that reference it (via). With via = 7, it counts the work behind reactions to a post.
If the offer has a reward, the issuer splits it by contribution and publishes a receipt (SNP-05) listing every note it counted. Anyone can check the amounts, and anyone holding a missing note can name the omission.
Service epochs
For access paid in work (SNP-09), the binding is SHA-256(origin) followed by a 4-byte epoch number. A note bound this way pays only at that origin, and only during that epoch and the next. The service keeps a spent-set, so each note pays once.
Fresh or reused
Unbound notes are convenient, but they can be shown in many places, and those uses link back to one identity. An unbound note can also never be shown to be fresh work: it might have existed before. When fresh work matters, use a binding nobody has used before. When privacy matters, mint a fresh note for each use.
Compose an offer and watch work on a post add up into a reward split.
