{
  "$schema": "https://degreesofsatoshi.com/encyclopedia/schemas/article-v1.json",
  "schemaVersion": "1.0.0",
  "id": "commitments-and-nullifiers",
  "canonical": "https://degreesofsatoshi.com/encyclopedia/commitments-and-nullifiers/",
  "collection": "privacy",
  "title": "Commitments and nullifiers: checking private payments without repeats",
  "description": "Follow how a shielded note can be recorded without revealing its contents and later marked as spent without openly linking the two records.",
  "aliases": [
    "what is a nullifier",
    "note commitment explained"
  ],
  "dates": {
    "published": "2026-11-18",
    "modified": "2026-11-18",
    "verified": "2026-11-19T01:30:46.076Z",
    "dataAsOf": "2026-11-18"
  },
  "authorship": {
    "publisher": "Degrees of Satoshi editorial project",
    "process": "AI-assisted research and drafting with a separate automated source-verification pass; no external expert or named human review is implied."
  },
  "quickAnswer": {
    "text": "In Zcash’s shielded payment system, a commitment records a hidden note, while a nullifier marks a spend so it cannot be repeated. A proof connects the spend to a valid note without publicly identifying which commitment it uses. Zcash keeps note commitments and used nullifiers in separate structures because they answer different questions.",
    "claimId": "commitments-and-nullifiers-quick-answer",
    "sourceIds": [
      "x449-p-zcash-protocol",
      "x449-p-zcash-private"
    ]
  },
  "keyFacts": [
    {
      "label": "Commitment",
      "value": "The public commitment represents a note without publishing its value and recipient.",
      "sourceIds": [
        "x449-p-zcash-protocol"
      ],
      "id": "commitment",
      "claimId": "commitments-and-nullifiers-fact-commitment"
    },
    {
      "label": "Nullifier",
      "value": "A repeated nullifier would signal a repeated spend and is rejected.",
      "sourceIds": [
        "x449-p-zcash-protocol"
      ],
      "id": "nullifier",
      "claimId": "commitments-and-nullifiers-fact-nullifier"
    },
    {
      "label": "Different jobs",
      "value": "Recording that a note exists is different from preventing it being spent twice.",
      "sourceIds": [
        "x449-p-zcash-private"
      ],
      "id": "different-jobs",
      "claimId": "commitments-and-nullifiers-fact-different-jobs"
    }
  ],
  "prerequisites": [],
  "sections": [
    {
      "id": "sealed-record",
      "heading": "Think of a sealed record, with limits to the analogy",
      "sourceIds": [
        "x449-p-zcash-private"
      ],
      "paragraphs": [
        "Imagine placing a claim ticket in a sealed envelope and adding a record of that envelope to a public list. The record establishes that something was added without displaying the ticket. A cryptographic commitment hides its contents while binding the record to them. A separate proof checks that the spending rules are satisfied."
      ]
    },
    {
      "id": "one-time-marker",
      "heading": "A spend needs a one-time marker",
      "sourceIds": [
        "x449-p-zcash-private"
      ],
      "paragraphs": [
        "If a private payment only proved that some hidden ticket existed, its owner might present the same ticket again. A nullifier is the public marker used to catch that repetition. The design must avoid making the marker an obvious label for the earlier commitment, or observers could follow the payment path."
      ]
    },
    {
      "id": "proof-connects-them",
      "heading": "The proof connects the hidden record and the marker",
      "sourceIds": [
        "x449-p-zcash-protocol"
      ],
      "paragraphs": [
        "Zcash’s proof checks that the disclosed nullifier is consistent with a previously committed note and the required secret information. The note commitment tree records existence; the nullifier set records which spend markers have already appeared.",
        "For an illustrative second attempt to spend the same note, the repeated nullifier causes rejection. A different valid note has its own spend marker. This is why seeing a nullifier on an explorer is not the same as learning a recipient address or the hidden amount."
      ]
    }
  ],
  "faq": [
    {
      "question": "Is a nullifier the transaction ID?",
      "answer": "No. A transaction ID identifies a transaction. A nullifier serves the narrower protocol role of preventing a shielded note from being spent again; a transaction can include more than one such spend.",
      "sourceIds": [
        "x449-p-zcash-protocol"
      ]
    }
  ],
  "claims": [
    {
      "id": "commitments-and-nullifiers-quick-answer",
      "articleSlug": "commitments-and-nullifiers",
      "statement": "In Zcash’s shielded payment system, a commitment records a hidden note, while a nullifier marks a spend so it cannot be repeated. A proof connects the spend to a valid note without publicly identifying which commitment it uses. Zcash keeps note commitments and used nullifiers in separate structures because they answer different questions.",
      "sourceIds": [
        "source-94600bef0afa2ed8",
        "source-21f09156bea7551d"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-94600bef0afa2ed8",
          "locator": "Sections 3.2.2 Note Commitments, 3.2.3 Nullifiers, 3.8 Note Commitment Trees and 3.9 Nullifier Sets"
        },
        {
          "sourceId": "source-21f09156bea7551d",
          "locator": "Discussion of the nullifier set; final discussion distinguishing commitments from hashes"
        }
      ],
      "scope": {
        "collection": "privacy",
        "dataAsOf": "2026-11-18",
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-11-19T01:30:46.076Z",
        "reviewer": "Independent automated verification — Codex /root/coverage_review, separate from privacy drafting agent",
        "notes": [
          "Scoped opening to Zcash and separated hiding/binding commitment properties from separate proof checks. Verified note commitment tree/nullifier set roles and rejection of repeated nullifiers."
        ]
      }
    },
    {
      "id": "commitments-and-nullifiers-fact-commitment",
      "articleSlug": "commitments-and-nullifiers",
      "statement": "Commitment: The public commitment represents a note without publishing its value and recipient.",
      "sourceIds": [
        "source-94600bef0afa2ed8"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-94600bef0afa2ed8",
          "locator": "Sections 3.2.2 Note Commitments, 3.2.3 Nullifiers, 3.8 Note Commitment Trees and 3.9 Nullifier Sets"
        }
      ],
      "scope": {
        "collection": "privacy",
        "dataAsOf": "2026-11-18",
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-11-19T01:30:46.076Z",
        "reviewer": "Independent automated verification — Codex /root/coverage_review, separate from privacy drafting agent",
        "notes": [
          "Scoped opening to Zcash and separated hiding/binding commitment properties from separate proof checks. Verified note commitment tree/nullifier set roles and rejection of repeated nullifiers."
        ]
      }
    },
    {
      "id": "commitments-and-nullifiers-fact-nullifier",
      "articleSlug": "commitments-and-nullifiers",
      "statement": "Nullifier: A repeated nullifier would signal a repeated spend and is rejected.",
      "sourceIds": [
        "source-94600bef0afa2ed8"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-94600bef0afa2ed8",
          "locator": "Sections 3.2.2 Note Commitments, 3.2.3 Nullifiers, 3.8 Note Commitment Trees and 3.9 Nullifier Sets"
        }
      ],
      "scope": {
        "collection": "privacy",
        "dataAsOf": "2026-11-18",
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-11-19T01:30:46.076Z",
        "reviewer": "Independent automated verification — Codex /root/coverage_review, separate from privacy drafting agent",
        "notes": [
          "Scoped opening to Zcash and separated hiding/binding commitment properties from separate proof checks. Verified note commitment tree/nullifier set roles and rejection of repeated nullifiers."
        ]
      }
    },
    {
      "id": "commitments-and-nullifiers-fact-different-jobs",
      "articleSlug": "commitments-and-nullifiers",
      "statement": "Different jobs: Recording that a note exists is different from preventing it being spent twice.",
      "sourceIds": [
        "source-21f09156bea7551d"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-21f09156bea7551d",
          "locator": "Discussion of the nullifier set; final discussion distinguishing commitments from hashes"
        }
      ],
      "scope": {
        "collection": "privacy",
        "dataAsOf": "2026-11-18",
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-11-19T01:30:46.076Z",
        "reviewer": "Independent automated verification — Codex /root/coverage_review, separate from privacy drafting agent",
        "notes": [
          "Scoped opening to Zcash and separated hiding/binding commitment properties from separate proof checks. Verified note commitment tree/nullifier set roles and rejection of repeated nullifiers."
        ]
      }
    }
  ],
  "sources": [
    {
      "id": "x449-p-zcash-protocol",
      "label": "Zcash Protocol Specification",
      "publisher": "Zcash protocol authors",
      "url": "https://zips.z.cash/protocol/protocol.pdf",
      "note": "Defines notes, note commitments, nullifiers, shielded transfers and their consensus checks.",
      "locator": "Sections 3.2.2 Note Commitments, 3.2.3 Nullifiers, 3.8 Note Commitment Trees and 3.9 Nullifier Sets",
      "checkedAt": "2026-11-19T01:25:12.538821+00:00",
      "contentSha256": "ef3b1d03fda8e363f278a66d60eedf6988e96fa491ea03b17b407af181f9b45a",
      "recordId": "source-94600bef0afa2ed8",
      "version": null
    },
    {
      "id": "x449-p-zcash-private",
      "label": "How Transactions Between Shielded Addresses Work",
      "publisher": "Electric Coin Company (archived on Zodl)",
      "url": "https://zodl.com/zcash-private-transactions/",
      "note": "Explains commitments, nullifiers and the double-spend check in a simplified account of shielded payments.",
      "locator": "Discussion of the nullifier set; final discussion distinguishing commitments from hashes",
      "checkedAt": "2026-11-19T01:27:48.304790+00:00",
      "contentSha256": "43413227fb4ef671d25bbc91406b9c264cf0082e3df1d1c164a3c0f9003ba0f1",
      "recordId": "source-21f09156bea7551d",
      "version": null
    }
  ],
  "related": {
    "articles": [
      "zcash-shielded-transactions",
      "zero-knowledge-proofs",
      "double-spending"
    ],
    "dossiers": [],
    "wallets": []
  },
  "revisionHistory": [
    {
      "date": "2026-11-18",
      "kind": "published",
      "summary": "First publication with primary sources and separate automated evidence review."
    }
  ],
  "citation": "Degrees of Satoshi editorial project. “Commitments and nullifiers: checking private payments without repeats.” Published 2026-11-18; updated 2026-11-18. https://degreesofsatoshi.com/encyclopedia/commitments-and-nullifiers/"
}
