For the complete documentation index, see llms.txt. This page is also available as Markdown.

Core concepts

The few ideas that explain OCC v1: one exchange is one record, identity is an account, and your keys decide who can read.

OCC v1 rests on four ideas.

One exchange is one on-chain record

Each mail, chat message or file transfer produces one record on a blockchain. A chat message is short, so the (encrypted) message itself goes on chain. A mail carries more data, so the content is stored elsewhere and the chain records a link to it and a checksum.

Rule of thumb: 1 mail, message or file exchange = 1 on-chain record.

See Message flows for both cases step by step.

Identity is an account

There is no separate sign-up. A blockchain account (a wallet address) is your identity. Senders and receivers are addressed by account.

Not your keys, not your messages

With encryption on, content is encrypted before it leaves the sender's device. Only the holders of the right keys can decrypt it. Nobody running the protocol can read your messages for you, and nobody can recover them if you lose your keys. Read Encryption options.

App IDs

An integrator registers an app and gets an app ID. Messages sent through that app carry the ID, and the app's fees are tracked against it. See Fees and app registration.

Terms

Term
Meaning

Envelope

The small JSON object that holds a mail's subject, content and attachment locations.

Checksum

A fingerprint of the stored envelope, recorded on chain so the receiver can detect changes.

Whitelist

A list of accounts allowed to mail you.

Integrator

A developer or organisation that builds an app on OCC v1.

Last updated