Skip to content
On this page

OC Chat

Your orangecheck account is your inbox. chat.ochk.io (opens in a new tab) is an end-to-end-encrypted messenger where the identity is your orangecheck account (did:oc), to which you can bind a Bitcoin address (BIP-322), the anti-spam is Lightning postage paid directly to the recipient, and a message can be sealed to open only at a future Bitcoin block height. No phone number, no custody.

It is not a new verb. OC Chat is a mode of OC Lock — it reuses OC Lock's envelope crypto (X25519 ECDH + AES-256-GCM, BIP-322 identity binding, RFC 8785 canonicalization) verbatim and adds a thin threading / postage / seal layer. The spec also defines new envelope kind values as its upgrade target; chat.ochk.io sends every message as a base OC Lock identity envelope with hint: "oc-chat/v1" (Envelope). chat.ochk.io is OC Lock plus threads, postage and a block-height seal.

The three send modesLink to this section

Each mode adds exactly one Bitcoin-unique property — identity (BIP-322), a settled-sats preimage (Lightning), a block-height predicate (Bitcoin). Everything past these is a registry extension, not a new canonical surface.

ModeEnvelope kindWhat it adds
speak-nowchatFree 1:1 E2EE. Your orangecheck account is the identity. Sub-second send, no per-message popup.
pay-to-reachchatA stranger pays Lightning postage to you to land in your inbox. OC never touches the sats.
seal-til-blockchat-sealA named beacon releases the key only after the chain passes block N. Beacon-enforced, not consensus.

The kind column is the spec's upgrade target; on the wire chat.ochk.io sends all three as identity. See The three send modes for the full breakdown.

How it works, in one paragraphLink to this section

You sign in with your orangecheck account; your browser generates an X25519 device key, ochk.io vouches for it, and its record is published to Nostr (OC Lock kind-30078). One BIP-322 signature can also bind it to a Bitcoin address. To message someone, you fetch their device keys by did:oc or Bitcoin address, seal an OC Lock envelope to them, and gift-wrap it over Nostr (NIP-59) so relays learn nothing — not who, not when, not what. Threading lives inside the ciphertext as a hash-chain. A stranger attaches a Lightning preimage (paid to your own wallet) to reach you. To seal a message for the future, you wrap its key to a named beacon that releases it after a Bitcoin block height — and the protocol is honest that, until the CLTV-witness upgrade ships, that beacon is a trust anchor, not the chain. Full tour in How it works.

The layersLink to this section

Code
┌────────────────────────────────────────────────────────────────┐
│  chat.ochk.io           threads, postage UI, seal compose       │
├────────────────────────────────────────────────────────────────┤
│  oc-chat-protocol       threading, postage, seal                 │
│  oc-lock-protocol       envelope crypto, canonicalization        │
│  @orangecheck/lock-*    X25519 ECDH, HKDF, AES-256-GCM           │
├────────────────────────────────────────────────────────────────┤
│  orangecheck            identity (BIP-322 sign-in, did_oc)       │
│  Nostr                  device directory (30078) + gift-wrap     │
│  Lightning              postage preimage; drand beacon for seal  │
│  Bitcoin                address ownership + block-height clock    │
└────────────────────────────────────────────────────────────────┘

Honest by designLink to this section

The family invariants demand the Ed25519 substitution test be run out loud on every feature. OC Chat passes it on identity and postage — and fails it, on purpose and in writing, on the v0 seal. We say so on every surface.

  • The seal-til-block v0 unlock is beacon-enforced, not Bitcoin-consensus-enforced. We name the beacon (drand quicknet) and we ban the word "trustless" from v0 seal surfaces. The consensus-enforced path (CLTV-witness) is structurally pre-wired, not shipped. See Seal-til-block.
  • We do not match Signal's per-message forward secrecy in v0. Compromising a device key decrypts its history. We say so; forward-secrecy-critical users — journalists protecting sources above all — should use Signal. See Security.
  • OC operates no payment rail for postage. Sender and recipient transact directly; OC only verifies the preimage, offline, and never custodies sats. See Postage.

PricingLink to this section

chat.ochk.io is paid in sats over Lightning — no fiat, no cards, no auto-renew, no stored balance. The free tier is genuine and forever: durable delivery is the free-tier floor, never the paywall. A conforming deployment provides at least best-effort store-and-forward so a message sent while you are offline still arrives.

SKUPriceFor
Free0 satsAll three send modes, best-effort durable inbox, the directory, channels.
Personal1,000 sats / 30 daysInbox retention of 365 days (not 14), multi-device backfill, higher size and rate caps.

Personal is closed for now: it is paid over Lightning, and Lightning is off across orangecheck since 2026-09-02. The free tier is unaffected.

Personal is a prepaid Lightning period with no auto-renew and a finite expiry, so OC's hosting obligation is always bounded and there is never a stored balance to custody. Paying while still subscribed stacks the period — paying early never loses days.

Sub-pages in this sectionLink to this section

  • Why OC Chat — the lock.ochk.io chat postmortem and what a real messenger fixes; the Ed25519 verdict run out loud.
  • Quickstart — sign in, send your first message, try each mode.
  • How it works — device key → inbox → directory → gift-wrap → threading, the zero-click send loop.
  • The three send modes — speak-now / pay-to-reach / seal-til-block, each adding one Bitcoin property.
  • Threading & attachments — the parent_id hash-chain, conversation ids, end-to-end-encrypted files.
  • Postage — pay-to-reach Lightning postage, the offline verification, the no-OC-rail rule, the Fedimint fallback.
  • Seal-til-block — the beacon model, the v0 drand-tlock profile, the hard chain gate, standing delivery (dead-man's-switch).
  • Discoverability directory — opt-in, UTXO-gated, revocable by-handle discovery; the social-graph firewall.
  • Channels — founder-rooted public channels, write policies, roles, moderation, source-intake.
  • Transport & durable inbox — gift-wrap, the v2 encrypted wrap, opaque per-conversation queue routing, relay AUTH.
  • Envelope & content addressing — the v0 wire, and the upgrade target's two new kinds and recipient-exclusion id/AAD rule that makes re-wrap safe.
  • Protocol walkthrough — the six flows, narrated end to end.
  • Security posture — the threat model and the nineteen+ named non-protections.
  • Specification — normative rules, error codes, kind registry, compliance checklist.

Where things liveLink to this section