live · mainnetoc · docs
specs · api · guides
docs / quickstart

Quickstart

Six verbs, six quickstarts. Pick the one that matches what you're trying to ship and jump straight to it — each protocol's quickstart is self-contained, runs on its own packages, and gets you to a verified artifact in five minutes.

Not sure which one? Read Which protocol do I need? for a one-page decision tree, or Ecosystem — shared concepts for the plumbing every protocol shares (canonical message, BIP-322, Nostr kind-30078).


OC Attest — am

Sybil resistance via proof of Bitcoin stake. Reach for this when you need to gate something — a route, an airdrop, a Nostr relay, a forum signup — on a credible economic cost, without running KYC.


OC Lock — whisper

End-to-end encryption addressed to a Bitcoin address. Reach for this when you need to send a sealed payload to whoever currently controls a specific BTC address — no centralized key server, no account, no broker.


OC Stamp — declare

BIP-322 authorship + Bitcoin-block-anchored priority. Reach for this when you need to prove that you said this no later than a specific Bitcoin block. Replaces PGP + OpenTimestamps + C2PA in one self-contained envelope.


OC Vote — decide

Stake-weighted, sybil-resistant polls. Reach for this when you need a deterministic, cross-impl-testable tally where weight comes from Bitcoin (one address, sats, or sats × days), not from a captured registry.


OC Agent — delegate

Scoped, revocable signing authority bound to a Bitcoin address. Reach for this when you need to delegate signing to a script, bot, or pipeline within a narrow scope — without handing it your principal key.


OC Pledge — swear

Bonded forward-looking commitments. Reach for this when you need to swear something is true now about a future outcome, with stake on the line and public exposure as the enforcement mechanism (never custody, never slashing).


What every quickstart shares

Every protocol in the family is built on the same primitive: a BIP-322 signature from a Bitcoin address over a canonical, human-readable message. Learn that one shape and the rest of the family pattern-matches.