-
Notifications
You must be signed in to change notification settings - Fork 1
merkle batching
Jacob S Vickers edited this page Aug 6, 2026
·
2 revisions
title: Merkle Batching & Anchoring Convention created: 2026-07-07 updated: 2026-07-07 type: concept tags: [cryptography, layer-2] confidence: high source_files:
- docs/INTERFACE_CONTRACT.md
Batches of approved BCC commitments are anchored on-chain as a
single Merkle root, verified by StateAnchor.sol in contracts.
- Hash function: keccak256 (not SHA-256) — cheap and native in the EVM, since the root is verified on-chain.
- Leaf:
keccak256(abi.encodePacked(leafData)). - Parent: sort the pair of child hashes ascending before concatenating —
keccak256(a < b ? a,b : b,a)— the standard OpenZeppelinMerkleProofconvention. This lets on-chain verification useMerkleProof.verifydirectly instead of a bespoke verifier.
This is the one hashing convention every package touching Merkle
trees/proofs (contracts, integrity-oracle, bcc_middleware) must share
exactly — a mismatch here silently breaks proof verification. See
Interface Contract §4.4.
Generated from INTEGRITY-LATEST/docs/wiki. Edit the canonical repository files, not this mirror.
- A2A Negotiation Protocol [PLANNED]
- AIS API — Versioned Wire Spec
- Agent Integrity Score (AIS)
- Agent Primitives (Self-Sovereign Identity)
- Behavioral Commitment Chain (BCC)
- ComplianceGate & Integrity Health
- Cross-Chain Reputation Sync [PLANNED]
- Decentralized Identifier (DID)
- Identity Ceiling & Verification Ladder [BUILT]
- Integrity Market (Prediction Markets, Binary Options, A2A Capital Allocation)
- Integrity Protocol Specification
- Local Metrology (Client-Side AIS Signal Derivation)
- Merkle Batching & Anchoring Convention
- Observability & PHI Safety Pipeline
- On-Chain Governance
- Persistent Memory Bridge
- Persistent Memory, Genesis Root & Lineage [PARTIALLY BUILT]
- Smart BAA (On-Chain Business Associate Agreement Escrow)
- Telemetry Ingestion Pipeline
- Testing Strategy
- The Four Foundational Primitives
- Xibalba Agent Operating Model
- ZK-ML Model-Inference Verification [PLANNED]
- Zero-Knowledge Proving Pipeline