ORZ HOLDINGS
← Back to Research Repository

Orzatty Labs Research Division

The Orzatty Protocol:
Transport-Agnostic P2P Mesh Network

Version 1.0 DRAFT | March 2026

1. Abstract and Ultimate Vision

The Orzatty Protocol is not a chat app. It is not an IP-bound local network (LAN) tool. The Orzatty Protocol is a Layer 4-7 Data Agnostic Transport Abstraction designed specifically to decouple digital communication from the traditional client-server internet architecture.

The ultimate operational goal is "WhatsApp without Internet": creating a hyper-local or globe-spanning decentralized mesh where nodes (smartphones, IoT devices, PCs) discover each other and exchange deeply compressed, high-speed binary frames.

2. The AsyncTransport Layer

Unlike TCP (handshake heavy) or UDP (stateless), the Orzatty Protocol implements a custom AsyncTransport layer. This layer wraps raw sockets and handles frame serialization asynchronously.

// Conceptual Frame Structure in Rust
pub struct OrzattyFrame {
    pub version: u8,
    pub frame_type: FrameType,
    pub sequence_id: u32,
    pub payload_size: u16,
    pub payload: Vec<u8>,
    pub checksum: u16,
}

3. Binary Frame Structure (9-Byte Header)

Efficiency is achieved through a strict 9-byte binary header, removing JSON/XML overhead.

Offset (Bytes) Field Size Description
0Version1 ByteProtocol v1.0
1Type1 Byte0x01: Handshake, 0x02: Data, 0x03: Ping
2-5Seq ID4 BytesBig-Endian Sequence Identifier
6-7Size2 BytesPayload Length
8-9CRC2 BytesChecksum for Integrity

4. Decentralized Node Discovery

The protocol utilizes a hybrid of mDNS for local discovery and a lightweight DHT (Distributed Hash Table) for network hops. Nodes maintain a routing table based on latency and signal strength (on radio interfaces) rather than just IP hops.

5. Security Roadmap

Phase 2 research will implement native End-to-End Encryption (E2EE) using Ed25519 curves for identity and XChaCha20-Poly1305 for data transport encryption, ensuring the holding cannot intercept communications.