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.
- → Speedrun: gate an Express route — drop-in middleware, ten lines.
- Sign in with Bitcoin · Filter an airdrop · Sybil-filter a Nostr relay
- OC Attest section overview · HTTP API
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.
- → Lock quickstart — register a device, seal an envelope, unseal it on the other side.
- Lock section overview
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.
- → Stamp quickstart — sign and verify a stamp in 60 seconds, hosted client or SDK.
- Stamp section overview
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.
- → Vote quickstart — create a poll, cast a ballot, verify the tally.
- Vote section overview
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.
- → Agent quickstart — mint a delegation, sign an action, verify the chain back to the BIP-322 root.
- Agent section overview
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).
- → Pledge quickstart — install the SDK, construct a pledge, sign with a wallet, publish.
- Pledge section overview
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.
- Canonical message format
- BIP-322 signing
- Nostr kind-30078
- Conformance vectors
- Security model
- SDKs at a glance — every published
@orangecheck/*package, what it does, and which protocol it belongs to.