Skip to content
On this page

OC Stamp

Sign anything. Anchor the moment to Bitcoin. OC Stamp binds three things into one envelope: authorship (BIP-322 signature from a Bitcoin address), priority (an OpenTimestamps proof chained to a specific Bitcoin block header), and optionally a stake reference (an OC Attest attestation, re-checked when verified). The result is a self-contained .stamp envelope that anyone can verify offline, forever, without calling ochk.io.

Who this replacesLink to this section

OC Stamp was built to be better than the adjacent-and-broken incumbents:

IncumbentProblem OC Stamp solves
PGP / GPG signaturesNo block-level priority anchor. Keyserver rot. Web of trust is a tarpit.
OpenTimestamps aloneProves timestamp only. Says nothing about authorship.
C2PA / content credentialsx509-based vendor PKI. Trust hierarchy reintroduces gatekeepers.
EVM notarization contractsWrong chain. Per-stamp gas. Subject to reorg.

Stamp borrows the best bits — OTS for anchoring, BIP-322 for authorship — and nothing else.

Use casesLink to this section

  • Release / commit signing via a git-stamp plugin (one stamp per release tag, anchored before public announcement).
  • Long-form publishing (authorship + "written before X happened").
  • Legal self-notarization (no third-party notary; Bitcoin block time is the witness).
  • DAO proposal authorship (the signer of record is cryptographically bound, not just the wallet that submitted the tx).
  • Sybil-gated content feeds (combined with an OC Attest reference, checked against the signer's address).

What it provesLink to this section

A valid Stamp envelope proves:

  1. Authorship. The envelope was signed (via BIP-322) by the holder of a specific Bitcoin address.
  2. Priority. The envelope's ID was committed to a specific Bitcoin block by a specific height — so it could not have been fabricated after that block.
  3. Optional stake. If the envelope references an OC Attest attestation, verifiers can resolve the signer's sats-bonded × days-unspent as they stand when verifying. The reference is not signed, so a verifier also checks that the attestation belongs to the signer's address.

What it does NOT proveLink to this section

  • Humanness. Same as every other orangecheck protocol.
  • Exclusivity. Someone with the same key can produce multiple stamps for conflicting content. Priority is per-stamp, not per-signer.
  • Non-repudiation at the application layer. The cryptographic proof is solid; what the signer meant by it is still a judgment call.

Section contentsLink to this section

  • Why OC Stamp — PGP + OTS + C2PA in one self-contained envelope.
  • Quickstart — produce and verify your first stamp.
  • How it works — sign + anchor in two steps.
  • Protocol walkthrough — the mental model, five flows through common uses, and what a stamp takes from Attest and Lock.
  • Envelope format — canonical JSON for signed statements and OTS proofs.
  • OpenTimestamps — OTS proofs, upgrade paths, verification.
  • OTS anchor — how @orangecheck/stamp-ots bridges OpenTimestamps proofs into the envelope.
  • Nostr publication — publishing stamps as kind-30083 addressable events.
  • Use cases — concrete patterns with code.
  • Security posture — verification guarantees and what a stamp does NOT prove.
  • Specification — normative rules, canonicalization, error codes.

PackagesLink to this section

  • @orangecheck/stamp-core — canonical message, envelope format, stamp(), verify()
  • @orangecheck/stamp-ots — OpenTimestamps calendar client + proof helpers

See SDK overview.

Shared ecosystem conceptsLink to this section

Spec + implementationLink to this section