ochk.app · Custody contract
Status: this is the design, not today. No guardian federation is bound.
/api/federations (opens in a new tab) is the
machine-readable answer. It lists two entries, neither with an invite, so no
client can join one: oc-me-v1, recruiting with no guardian seats, and
oc-testnet-v1, a single-key test federation on testnet that orangecheck
operates. While it is in testing, orangecheck holds every user's accrued
balance and is the party that moves it. That is a stage, deliberately:
orangecheck operates every role until independent operators take them. Read
the descriptor schema, graduation envelope and rotation rules below as the
protocol's custody contract, and ochk.app/custody (opens in a new tab)
as the present tense.
In ochk.app's design, guardians hold the bitcoin and your earned sats reach
you as a payout to a Lightning wallet you choose. This page is the user-facing
explanation; the protocol-level contract is at
oc-attest-protocol/FEDERATION-CUSTODY.md (opens in a new tab)
(v1.2-draft-1, additive extension).
Two questions get conflated here. Self-custody of your signing key is live and real on the BIP-322 path — that key never reaches OC. Self-custody of your sats is not live for anyone. The rest of this page is about the second one. ochk.app/custody (opens in a new tab) says who holds what today.
What federation custody means in ochk.appLink to this section
Once a federation is bound, an M-of-N guardian set holds the bitcoin, and no single guardian can move it. orangecheck's executor holds your claim on it as ecash and pays you out to a Lightning wallet you choose; that payout is how your sats reach keys you hold. No app pays real sats yet, and ochk.app/custody (opens in a new tab) shows who holds each role today.
The protocol's custody contract also describes recovery by re-proving your email and a sweep of your sats to a BIP-322 wallet. ochk.app builds neither.
None of that is in force. The guardians that once ran this were torn down in
July 2026, and the browser-side Fedimint client that would have joined a
federation was removed from oc-me-web in September 2026 — it could only ever
reach its own error path.
The three options at thresholdLink to this section
| how it works | live today? | |
|---|---|---|
| federation custody (the destination) | guardians collectively hold the bitcoin. orangecheck's executor pays you out to a Lightning wallet you choose. | no. no federation is bound, so no client can join one — / publishes that state. |
| fedimint client | sweep to a fedimint federation you trust more (your community's, your country's, your own). | no. ochk.app has no browser-side Fedimint client, so a bound federation would not open this either. |
| self-custody | sweep to any BIP-322-capable Bitcoin wallet (UniSat, Xverse, Leather, Sparrow, hardware wallet). only you can sign. | sign-in is live (in-place, no redirect) and the signing key is yours. the sat sweep is not built. |
None of these is the signing_method on your session. That claim says only who
holds your signing key: bip322 once a BIP-322-verified Bitcoin address is
linked to your account, fedimint_threshold otherwise. ochk.io works it out
from your verified identities each time it signs you in, so no one can set it,
and where your sats sit never changes it.
The protocol accommodates the round-trip back to federation custody via attestation re-issuance under the new custody descriptor.
Graduation envelopeLink to this section
Per the v1.2-draft-1 oc-attest extension, graduation publishes an envelope carrying both an M-of-N guardian quorum sig (federation releases custody) and a self-key sig (you prove you hold the key now). The envelope is anchored to a bitcoin block via OpenTimestamps so any verifier can confirm graduation happened at a specific time.
{
"v": 1,
"kind": "orangecheck-graduation",
"address": "bc1q...",
"from_federation": "fed:abc123…",
"to": "single-key",
"graduated_at": "2026-04-30T20:00:00Z",
"proof": [
{ "address": "bc1qg1…", "sig": "..." },
{ "address": "bc1qg2…", "sig": "..." },
{ "address": "bc1qg3…", "sig": "..." },
{ "address": "bc1q...", "sig": "...", "kind": "self-key" }
]
}
| Field | Rule |
|---|---|
from_ | Content hash of the federation custody descriptor releasing the address. |
to | "single- (graduating to BIP-322). A move to a new descriptor is a rotation. |
proof | M signatures from M of N declared guardians PLUS one self-key signature. |
graduated_ | ISO-8601 timestamp; the OTS proof anchors this to a Bitcoin block. |
The envelope contract is a draft at the spec level, not yet normative. ochk.app does not build the sweep that would produce one.
Guardian descriptorLink to this section
A federation custody descriptor is a content-addressed canonical JSON object — same shape as oc-agent-protocol's federation principal, re-purposed for custody:
{
"v": 1,
"kind": "attest-federation-custody",
"address": "bc1q…",
"threshold": "3-of-5",
"guardians": [
{ "address": "bc1qg1…", "alg": "bip322", "name": "alice" },
{ "address": "bc1qg2…", "alg": "bip322", "name": "bob" },
{ "address": "bc1qg3…", "alg": "bip322", "name": "carol" },
{ "address": "bc1qg4…", "alg": "bip322", "name": "dave" },
{ "address": "bc1qg5…", "alg": "bip322", "name": "erin" }
],
"implementation": {
"kind": "fedimint",
"federation_id": "fed11qgqzcq…",
"version": "0.4"
}
}
The descriptor id is fed: + lowercase hex
SHA-256(canonical_descriptor_bytes).
What stays the same when you move to your own keysLink to this section
This is the protocol's move to your own keys; ochk.app does not build it. In ochk.app your sats reach keys you hold as a payout to a Lightning wallet you choose.
| Stays the same | Changes |
|---|---|
| Your bitcoin address (the canonical identifier) | Where your sats sit (a wallet you hold, instead of the federation) |
| Your backing, if you backed your account with a coin | Who holds the key to them (you, instead of the guardians) |
| Your activity history, connected sites, agent delegations | How recovery works (you own backup; lose the key, lose the funds) |
| Your sat-earning rate | |
Your signing_, which says only who holds your signing key |
Guardian rotationLink to this section
Guardian rotation produces a new descriptor with a new id. Old attestations remain verifiable against the old descriptor; new attestations bind to the new descriptor. Rotation envelopes are authenticated by M-of-N signatures from the old descriptor and OTS-anchored so any verifier can resolve the active descriptor at any historical instant.
Reading furtherLink to this section
oc-attest-protocol/FEDERATION-CUSTODY.md(opens in a new tab) — full v1.2-draft-1 specoc-agent-protocol/FEDERATION.md(opens in a new tab) — sibling federation principal extension for delegations- ochk.app/custody (opens in a new tab) — product expression of this contract with live status pills per state
- ochk.app/security (opens in a new tab) — the OC_STORES table, disappearance scenarios, recovery matrix per signin path
- ochk.app/me/balance (opens in a new tab) — the move to your own keys