SHARENOTEProof of energy
Learn/Reference

Glossary

Current terms from SNP-01 to 09. Below them, the names and numbers that were retired, and what replaced each one.

TermMeaningSpec
AlgorithmThe proof-of-work function a note is measured in: sha256d or scrypt, plus sha256d-aux and scrypt-aux for merged notes. Values compare and add only within one algorithm.01
AnnouncementAn addressable Nostr event a key publishes so others can find it: a provider (31724), an NSP (31725) or a pay destination (31726). The newest valid version is the one in effect.03
AskA gift-wrapped kind:1728 command from an owner to its own rig: what binding to mine, how much and until when. The rig queues it and reports statuses.08
ATTRIBUTEDThe verdict for a valid note: it is worth exactly its Z-bit and credited to its identity. Only ATTRIBUTED notes count.01
Aux merkle treeA merkle tree whose root sits in the parent coinbase; each leaf belongs to one merged chain. The z-chain takes the slot computed from chain id 0x534E.02
BindingAn optional opaque value committed inside a note that scopes it to one use, such as an offer, a reaction or a service epoch. It cannot be changed without redoing the work.01
BlockA parent header that clears the parent chain's own target. A client must submit every block it finds, whether or not it is also a share.07
Caller proofIn keyed mode, a NIP-98 event signed by the notes' identity and sent in the Sharenote-Auth header. It ties the payment to one call so copied notes are useless.09
ContributionThe total weight of a worker's notes that answer an offer, each proof counted once. Anyone can recompute it from the offer's relays.04
CutoffWhen an issuer stopped counting notes for a receipt: the offer's closes, else the receipt's closed tag, else its created_at. It is fixed once a receipt is published.05
EpochA fixed-length time window of an access-paid service. Payment notes bind to one epoch and are accepted only in that epoch and the next.09
EquivocationTwo receipts for one offer that differ in reward, pay, notes or cutoff. Both signed receipts together prove the issuer contradicted itself.05
Gift wrapThe NIP-59 envelope used for orders, quotes, statuses, asks and reports. Relays see a wrap addressed to someone, not who sent it or what it says.06
IdentityThe x-only Nostr public key inside a note's record that the work is credited to. Changing it changes the hash and needs fresh work.01
Keyed modeA service setting (keyed=1) that requires every payment to carry a caller proof from the notes' identity, so a stolen note cannot be spent by someone else.09
Late noteA note that answers an offer but was not known on its relays before the receipt's cutoff. Leaving it out of a receipt is nothing against the issuer.05
Merged noteA Sharenote whose work is a parent chain header's proof-of-work hash, committed in that header's coinbase under the z-chain slot. Every share becomes one.02
MinterThe identity credited with a note's work. The minter need not do the hashing: a provider can mine notes credited to it.01
NonceThe only record field changed while mining. In a merged note it holds the proof linking the parent header to the commitment.01
NSPNode Service Provider: runs chain nodes and streams block templates over gRPC so miners can merge-mine notes. The coinbase pays the miner, minus at most the announced fee.07
OmissionA note that answers an offer and was on its relays before the cutoff, but is missing from the receipt. Whoever holds it can name it by its key.05
OrderA gift-wrapped kind:1724 request to a provider for a count of notes of one Z-bit, credited to an identity and bound to a binding.06
OwnerA key allowed to send asks to a rig, set by the rig's operator with a rank. It need not be the identity the notes credit.08
Parent chainThe SHA-256d or scrypt proof-of-work chain a miner secures. Its work is reused as-is to mint merged notes, and it needs no change.02
Pay announcementA kind:31726 event, signed by the identity notes credit, listing where to pay it on one chain or over Lightning. No one else can redirect its pay.03
PriceWhat a service charges per call, as a Z-bit per algorithm, sent in the Sharenote-Price header of a 402 response.09
Proof hash (H)The hash of a note's record, or of the parent header for a merged note. It must be at most the target. Together with the algorithm it identifies the note; it is never its value.01
ProviderA key that mines Sharenotes on someone else's behalf. It is found by its kind:31724 announcement and takes gift-wrapped orders paid over Lightning.06
QuoteA provider's kind:1725 answer to an order: one BOLT11 invoice with an expiration, never above the announced price cap.06
RankA rig's per-owner setting that orders its queue before priority, so no owner can jump ahead of a higher-ranked one.08
ReceiptA signed kind:1727 event listing who gets how much of an offer's reward and exactly which notes were counted.05
REJECTThe verdict for a malformed note, a mismatched event, or a note without enough work. Relays drop it and consumers ignore it.01
RigSoftware driving mining hardware under its own key, such as a stratum server. It mines asks from its owners and otherwise does its usual work.08
SessionAn optional access window bought by one payment. The service returns a Sharenote-Session token that covers every charged call for that many seconds.09
ShareA parent header whose hash clears a merged note's target. It is also a block only if it clears the parent chain's far harder target.02
SharenoteA proof of energy: a self-verifying record showing that one identity spent a declared amount of work in a stated algorithm. No one issues it and anyone can check it.01
SKIPThe verdict for a note with an unknown version or algorithm. The verifier cannot evaluate it, so it neither counts nor stores it.01
SN4U recordThe binary layout of a note: the tag SN4U, version, algorithm, identity, Z-bit, binding and nonce. The proof is computed over these exact bytes.01
Spent-setThe record of notes a service has already accepted, keyed by the SHA-256 of each record. It covers two epochs and is shared by every acceptor at one origin.09
TargetThe 256-bit number a Z-bit maps to exactly. A note is valid when its proof hash is at most the target; a smaller target means more work.01
TemplateIn an offer, the opaque content notes commit to through the offer id. In SNP-07, a block template an NSP streams for miners to build jobs on.04
UnboundA note with an empty binding. It is prepaid energy that can be shown anywhere it is accepted, but it can never be shown to be fresh work.01
Usual workWhat a rig mines with no ask running: templates from its own node or an NSP, or nothing at all (standby).08
ValueWhat a note is worth: D = 2^256 / T, the expected number of hashes to find it. It comes from the committed Z-bit, never from the hash.01
WeightA note's value scaled by 2^128 as an integer, w = floor(2^384 / T). Sums, comparisons and reward splits all use weights.01
WithdrawalA NIP-09 deletion naming an announcement's address. It removes every version up to its own time; jobs and receipts that named a version still stand.03
Work offerA signed kind:1726 event asking for work in one algorithm toward a template, with a minimum Z-bit and optionally a reward and close time.04
Z-bitThe denomination of a note, written NNzcc: whole bits, a lowercase z, two centi-bit digits. 34z10 is 34.10 Z-bits; each whole bit doubles the work.01
Z-chainThe aux merkle tree leaf, chain id 0x534E ("SN"), under which merged notes are committed. It is a single slot, not a chain of linked blocks.02

Retired names and numbers

Old pages, posts and code may use these. Each row says what to use now.

RetiredNowNote
NIP-SNSNP-01 Proof of EnergyThe original core spec, "Sharenote: Proof-of-Work Bearer Notes" (v0.1.0), was redesigned and renamed SNP-01.
Sharenote ProfilesSharenote Proposals (SNP)The core-plus-profiles family became one layered series of peer specs, the Sharenote analogue of Nostr's NIPs.
SNIP-00 Core MathSNP-01 §Z-ArithmeticZ-bit to target, value, exact sums and splits now live in SNP-01, with integer weights instead of floats.
SNIP-02 Hashrate & Telemetry (kind 35502)RetiredHashrate is estimated from public shares (SNP-02 §Hashrate from shares); an owner can request a private rig report (SNP-08, kind 1730).
SNIP-03 Pool Accounting (kinds 35500, 35501, 35503–35505)SNP-04 Work Offer + SNP-05 Payout ReceiptsBlock invoices and miner share events became an offer (kind 1726) and an auditable receipt (kind 1727).
SNIP-04 Raw Printing & AuxPoW (kind 35510)SNP-02 Z-ChainA merged note is an ordinary kind 1723 note whose nonce carries the AuxPoW proof.
SNIP-05 Miner & Pool Identity (kinds 10520, 10521)SNP-03 AnnouncementIdentity and pool profile events became provider (31724), NSP (31725) and pay (31726) announcements.
SNP-10 Z-ChainSNP-02Renumbered 2026-11-14 so each spec depends only on lower numbers. Its pools section was removed.
SNP-02 AnnouncementSNP-03Renumbered 2026-11-14. Earlier, number 02 held Identity, then briefly Mining Providers (now SNP-06).
SNP-03 Work OfferSNP-04Renumbered 2026-11-14. Kind 1726 unchanged.
SNP-04 Payout ReceiptsSNP-05Renumbered 2026-11-14. Kind 1727 unchanged. Before the 2026-11-13 redesign it was the Accounting profile.
SNP-13 Access Paid in WorkSNP-09Renumbered 2026-11-14. Same rules: HTTP 402, Sharenote header, origin and epoch binding, keyed mode, MCP.
SNP-05 Telemetry (kind 20500)RetiredHashrate comes from public shares; monitoring is internal to the rig, and the SNP-08 report is owner-only.
SNP-11 Engagement Backed by Work (kind 31723 tally)RetiredA like backed by work is a note bound to the reaction (SNP-01); work on a post's reactions is counted by an SNP-04 offer with target + via 7.
SNP-12 Mint Paid in Work (drops 1724, grants 1725)RetiredOut of the series' focus; a sale can still be a note's binding. Kinds 1724 and 1725 are now SNP-06 order and quote.
SNP-07 Work Givers (work announcement 31725)SNP-07 Node Service ProvidersThe work endpoint became a gRPC template service; kind 31725 is now the NSP announcement.
Kinds 1733, 1734, 1735Kinds 1723, 1726, 1727The redesign's Sharenote, Work Offer and Accounting kinds; now note, offer and receipt.
Kind 10500 IdentitySNP-03 announcementsThe redesign-era Identity kind is gone; a key announces its roles and pay destinations in SNP-03 instead.
Kind 11723 provider announcementKind 31724Provider announcements became addressable (one per d value) and moved into SNP-03.
SNOT recordSN4U recordThe binary record tag is SN4U (53 4E 34 55), with length-prefixed algorithm, binding and nonce.
UNATTRIBUTED verdictATTRIBUTED / REJECT / SKIPEvery note commits its identity, so there is no unattributed tier. Operator-signed custodial mode was dropped.
sha256d-btcheader, sha256d-btcheader-idsha256d-aux, scrypt-auxHeader-class notes became merged notes with a full AuxPoW proof under the z-chain slot.
Uppercase NNZcc labels (e.g. 34Z10)Lowercase NNzcc (34z10)The z tag and every display use a lowercase z with two centi-bit digits.
Value from H (D = 2^256 / H), Continuous DifficultyValue from the committed Z-bitA note is worth exactly its denomination, D = 2^256 / T; a lucky hash earns no bonus. Math is exact integer weights, never floats.
WatchtowerAuditor / consumerAnyone re-verifies notes from relays; SNP-05 defines what an auditor can prove about a receipt, and that completeness is never provable.
Pool AllianceNo equivalentThere are no pools in the stack. Several merged chains can share one aux merkle tree (SNP-02).
Sharenote Bill, Target BillZ-bit (denomination)The Z-bit committed in the record is the note's denomination and its value.
Physical ShareShareA parent header that clears a merged note's target (SNP-02).
Hashrate Provider, "the Market", routing scopes, printingProvider (SNP-06), NSP (SNP-07), mintingThere is no market layer. Apps order notes from providers; miners get templates from NSPs; a note is minted.
usually_90 / almost_999 planner presetsNot part of any SNPThe current specs give expected work (D = 2^256 / T) and the 1/√n spread of share counts (SNP-02); planners derive their own estimates.