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

Blockchain layer

OCC v1 uses a blockchain as the network that keeps a tamper-evident record of each exchange.

In OCC v1 the blockchain is the underlying network. It runs the protocol contracts and keeps an immutable, public record of each exchange.

What goes on chain

  • For a chat message: the encrypted message, a timestamp and the sender's account.

  • For a mail: a link to the stored envelope, a checksum, a timestamp and the sender's account.

  • For each user: the public key other people use to encrypt to them.

  • For each app: the fee settings tied to its app ID.

With encryption on, content is encrypted before it goes on chain. Without encryption, it is stored as sent.

Why a chain

A chain record cannot be quietly changed afterwards, and anyone can check that an exchange happened. The cost is that records are public and permanent, and that each exchange needs a network fee. Plan for both.

Which chain

OCC v1 is designed to run on EVM-compatible networks, on layer 1 or layer 2. The SDK 0.5.13 configures a set of networks; see Supported networks.

Protocol contracts, Fees and app registration.

Last updated