Every decision, on the record

Each decision the engine takes is a leaf: the exact JSON of its inputs and action, hashed with keccak256. Every UTC minute with a decision, the leaves are sorted into a Merkle tree and its root is sealed on Solana, in a memo signed by the sealer. Nobody, the operator included, can change a decision after its minute. The demo book’s decisions are paper fills, labelled demo; a live position’s are labelled live and carry their Pacifica client order ids.

See the live engine, checked now: its mode and heartbeat, the latest minute against Solana, a fresh Pacifica read and the exact order it would place, all in the page’s HTML.

Sealer on SolanaCuoKHqWpeY…Ap3oAJze
Minutes sealed0
Minutes recorded16
ChainSolana mainnet, SPL Memo

Verify any leaf

Paste a leaf hash from any position page. Your browser hashes its JSON, folds the proof to the minute’s root, then reads the minute’s seal transaction on Solana.

Latest minutes

Live, refreshed every 15 s

How a leaf is checked

  1. 1

    Hash the JSON

    leaf = keccak256("optisol.leaf.v1" ‖ canonical JSON). Keys sorted, no spaces; whole numbers stay numbers and every other number is written as a decimal string. Hash the JSON exactly as served.

  2. 2

    Fold the proof

    Each sibling is hashed with the running node in sorted order, keccak256(min ‖ max), up to the minute’s root. An odd node is carried up unchanged.

  3. 3

    Read the memo on Solana

    getTransaction on the minute’s seal transaction, on any Solana RPC: its first signer is the sealer, and its log carries the SPL Memo "optisol.root.v1 m=<minute in Unix seconds> r=<root> n=<leaf count>". The root in the memo must equal the minute’s root. Minutes recorded before sealing began keep their root in the record, with no seal.

  4. 4

    Replay the decision

    On a position page, the replay recomputes each decision from its recorded inputs with the published method.