OC Attest
Proof of Bitcoin stake for the open web. OC Attest is the base-layer sybil-resistance primitive: a signer proves they control a Bitcoin address and have held N sats unspent for N days. Any verifier can re-check the claim in one HTTP call, offline, without trusting a third party.
What it provesLink to this section
A valid OC Attest attestation proves three things cryptographically:
- You control a specific Bitcoin address (BIP-322 signature over a canonical message).
- The address holds
Nsats right now (re-derived from live chain state at verify time). - The bonded UTXO has been unspent for
Ndays (confirmation time vs. now).
And one thing self-assertedly:
- The holder claims handles like
github:alice,nostr:npub1…, etc.
Claims 1–3 are mathematical. Claim 4 is an assertion — verify handle ownership out-of-band if your gate depends on it.
Who this is forLink to this section
- Platforms — forum operators, Nostr relay operators, airdrop distributors, DAO coordinators, Discord bot authors.
- Integrators — anyone who needs to gate access on a credible economic cost without running a KYC pipeline.
- Signers — anyone on the open internet who wants to stop being mistaken for a bot and doesn't want to hand KYC data to every platform they interact with.
Who this is NOT forLink to this section
- You need proof of personhood. Use World ID or BrightID; OC Attest is a cost filter, not a humanness proof.
- You need private claims. OC Attest proofs are public by design.
- You need regulatory KYC. Use a licensed provider.
Section contentsLink to this section
- How it works — sign → publish → verify, the whole protocol on one page.
- Scoring —
sats_bonded,days_unspent,score_v0(advisory). - Verification — the exact checks a verifier performs.
- HTTP API — attest.ochk.io's
/api/check,/api/verify,/api/discover,/api/publish-attestationand/api/stats, plus ochk.io's/api/challenge. - Guide: gate an Express route — drop-in middleware in 10 lines.
- Guide: filter an airdrop — turn a candidate list into a sybil-resistant allowlist.
- Guide: sign in with Bitcoin — signed-challenge session auth.
- Guide: sybil-filter a Nostr relay — drop a Strfry plugin in; reject events from unproofed npubs.
- Guide: self-host the verifier — run the same checks on your own server with the published packages, your relays and your Esplora.
Read the shared layer firstLink to this section
Many of the concepts an Attest integrator needs are shared across the orangecheck ecosystem:
- Canonical message format
- BIP-322 signing
- Nostr kind-30078 publication
- Conformance vectors
- Security model
If you've never touched orangecheck before, read those first.