Magic Packet — Proof of Storage Verification¶
Version 1.0 — 2026-04-20 | Sane • Simple • Secure • Stealthy • Beautiful
🏗️ Overview¶
The Magic Packet (Witness Engine) is Layer 4 of the NeXuS // ECO Extraterrium Stack. It provides the mechanism for Proof of Witnessed Service, moving beyond simple "Proof of Storage" into random, active audits of data integrity and node reliability.
👻 The Magic Packet is a Pop Quiz. The network randomly asks a node: "Hey, remember that package you delivered three days ago? What was the third word on the shipping label?" If you actually delivered it, you have the record. If you faked the delivery, you can't answer the question.
⚙️ How It Works¶
At random intervals, the DIVA Main Chain (Layer 0) fires ghost packets — encrypted strings derived from actual service data — to random nodes. Only a node that actually performed that service can decrypt the challenge string and respond correctly.
The Verification Loop:¶
- Challenge Issuance: DIVA selects a service event (Block #X, Circuit #Y) and generates a challenge derived from that event's unique cryptographic proof.
- Delivery: The Magic Packet is routed to the node that claimed the service.
- Response:
- 🟢 Pass: The node retrieves the local chain entry, decrypts the challenge, and submits a valid response. Service credits are confirmed.
- 🔴 Fail: The node cannot decrypt the challenge due to lack of local context (indicating a faked service claim). The node's vault is slashed, and the node is flagged or removed from the service pool.
🎯 Significance¶
The Magic Packet ensures that NeXiuM is earned and witnessed, not just issued based on declarations. It forces nodes to maintain honest local ledgers and proves that the work was actually performed.
- Integrity: Prevents "Lazy Signing" or "Sybil" service claims.
- Accountability: Automatically penalizes dishonest actors via vault slashing.
- Trustless Truth: The network does not trust the node's report; it tests the node's knowledge.
📈 Integration Example¶
Services rendered
→ Personal Chain records
→ zk-SNARK rollup proves
→ Magic Packet validates (Layer 4)
→ Vault unlocks
→ NeXiuM flows
🟢 Pass → service credits confirmed. 🔴 Fail → vault slashed, node flagged, removed from pool.
Extracted from NEXUS_ECO_EXTRATERRIUM_STACK.md · NeXuS Core Documentation meWEwowow