The three send modes
OC Chat has exactly three canonical send modes, and the discipline is deliberate: each adds exactly one Bitcoin-unique property over plain end-to-end-encrypted messaging. Everything beyond these three is a registry extension, not a new canonical surface — the small-canonical-surface invariant in action.
The kind column is the spec's upgrade target. In v0, which is what
chat.ochk.io sends, all three modes go out as a base OC Lock identity envelope
with hint: "oc-chat/v1", and postage and seal ride inside the encrypted
body (Envelope).
speak-now — the daily driver (free)Link to this section
No postage, no seal (kind="chat" in the upgrade target). An identity-mode
OC Lock envelope sealed to the recipient's device keys. The sender does not
sign each message with BIP-322: each message carries a Schnorr signature by
the sending device's inbox key over the envelope id, and that key is bound to
the sender once per device — by a BIP-322 device record, or
on chat.ochk.io by ochk.io's vouch for a did:oc device. The send loop is
sub-second.
Receiving is never gated by payment. Free-tier anti-spam is recipient policy, enforced by the recipient's client, not the protocol:
- require a mutual contact, or
- a BIP-322 proof of control of a funded / aged UTXO (no sats move — the UTXO floor is a Sybil cost, not a payment).
A first message that does not clear the policy is delivered and decrypted, never dropped — it is placed in a distinct filtered/pending state (the "Requests" surface) so the recipient always sees that someone reached them. Acceptance is a client-local, explicit and revocable allowlist: approving a filtered conversation lets that sender reach your inbox normally thereafter, and you may revoke at any time. The allowlist is private — it is never published, never carried on the wire, and never co-indexed with the directory (the social-graph firewall). The spec allows acceptance to be signalled only by replying — no "your request was opened" receipt, which would be a read-receipt-style metadata leak. chat.ochk.io sends nothing when you open or approve a request: Approve only adds the sender to your device's allowlist. The sender's "may need to accept you" note clears when you reply.
pay-to-reach — a stranger reaches you (paid, peer-to-peer)Link to this section
A postage block on the message (kind="chat" in the upgrade target). A
stranger's first message to a recipient who has published a postage floor
must carry a valid Lightning preimage proving payment to the recipient.
The payment is sender → recipient direct; no OC service is in the path.
The flow, end to end:
- The recipient publishes a postage policy —
floor_satsplus a Lightning endpoint resolving to their own wallet, inside an identity-signed record. - A stranger's wallet fetches an invoice directly from that endpoint, pays it, and obtains the preimage.
- The client embeds
{payment_hash, preimage, nonce, amount_sats, recipient, …}in the sealed envelope. - The recipient verifies
SHA-256(preimage) == payment_hashoffline plus a recipient-binding so the preimage can't be replayed. Valid → inbox. Invalid/absent → delivered but held in Requests, never dropped.
This is sats as signal — attention priced, not filtered, and the inverse of hashcash: the cost is hardware-neutral and accrues to the recipient as value. Contacts message for free; only stranger → inbox is gated. OC collects nothing. The full offline-verification construction, its honest ceiling, and the named-Fedimint custodial fallback are in Postage.
seal-til-block — a message that opens in the future (the timelock mode)Link to this section
A seal block on the message (kind="chat-seal" in the upgrade target). The
content_key is wrapped to a named beacon, not the recipient; the beacon
releases it only after the Bitcoin chain passes seal.unlock_block. The
recipient receives the ciphertext immediately but holds no key.
This is beacon-enforced policy, not Bitcoin consensus. The word
"trustless" MUST NOT describe a chat-seal envelope whose anchor is a beacon.
A conforming client surfaces the beacon identity and the early-release / brick
risk at compose time, and caps the v0 horizon at ~30 days.
A hard chain gate makes the displayed promise true on a conforming client:
the body is not surfaced until the client independently confirms
chain_tip ≥ unlock_block + confirmations, even if the timelock beacon already
yielded the key — so the message opens at the later of (the beacon
releasing, the chain reaching the height). The block height is a verified
condition, never the lock. This mode is the one that fails the Ed25519
substitution test by design, and the protocol says so on every surface —
the seal page and
Why run the test out loud.
What is not a fourth modeLink to this section
By design, the following are registry extensions or compositions, never new canonical send modes:
- Channels (§8.3) — public, founder-rooted broadcast, a
composition of a descriptor + posts + a write gate, on a distinct
chat-channelkind. Not a DM mode. pay-to-post— Lightning postage per channel post — a reserved kind-30115 extension, not v1-canonical (it is not offline-verifiable).- Private / group channels — reserved behind the same channel descriptor, gated on an MLS-grade group protocol.
- The CLTV-witness seal — the consensus-enforced upgrade to
seal-til-block, structurally pre-wired (seal.cltv_outpoint) but not shipped.
Holding the line at three modes is what keeps every implementation byte-compatible.
NextLink to this section
- Postage — the full pay-to-reach construction.
- Seal-til-block — the beacon model and the dead-man's-switch.
- Envelope & content addressing — the kinds and the recipient-exclusion rule.