P2P-PGP

Rust P2P Game Protocol Substrate Engine

The Foundation of LuckyDrone P2P

In Development 10-Crate Workspace Web-First V1 Console V2

P2P-PGP is the foundational Rust substrate powering every LuckyDrone decentralized game product. A 10-crate workspace built on libp2p, WebRTC, QUIC, and CRDTs, it delivers the core P2P networking, state synchronization, and transport layer that the Ad Auction, Ad Exchange, Asset Auction, and Asset Exchange engines are built on. V1 ships web-first with a Leptos WASM browser SDK for instant browser integration and C++20 header delivery for native console sidecar integration. V2 upgrades the RPC layer to Cap'n Proto over QUIC for zero-copy, schema-driven messaging at wire speed.

Core Architecture

  • 10-Crate Rust Cargo Workspace
  • libp2p Networking Core (Gossipsub, Kademlia, mDNS)
  • WebRTC Transport (Browser-Native P2P)
  • QUIC Transport (Server & Edge Nodes)
  • CRDT State Synchronization (Eventual Consistency)
  • Pluggable Protocol Layer (Strategy Pattern)
  • Event-Driven Async Architecture (Tokio)
  • Zero-Alloc Hot Path Design

V1 — Web-First Delivery

  • Leptos WASM Browser SDK
  • C++20 Header-Only Delivery (Console Sidecar)
  • WebRTC Browser-to-Browser P2P
  • WASM-Compatible Crate Subset
  • REST + WebSocket Signaling Server
  • Docker & Kubernetes Deployment

V2 — Cap'n Proto RPC Upgrade

  • Cap'n Proto RPC over QUIC
  • Zero-Copy Schema-Driven Messaging
  • Native Console SDK (PlayStation, Xbox, Switch)
  • Cross-Platform Binary Protocol
  • Backward-Compatible with V1 WebRTC
  • Sub-Millisecond Serialization

Products Built on P2P-PGP

P2P-PGP is the substrate for the entire LuckyDrone decentralized game product line. Each product extends the core with domain-specific protocol logic:

Rust libp2p WebRTC QUIC CRDTs WASM Leptos C++20 Cap'n Proto Tokio Gossipsub Kademlia

Choose Your Plan

License the substrate or bundle with product engines

Perpetual License

$4,999/one-time
  • Full source code access
  • All 10 crates
  • Leptos WASM SDK
  • C++20 headers
  • 1 year of updates
  • Email support
  • Commercial use license
Buy Now

Pro Subscription

$399/month
  • Full source code access
  • All 10 crates
  • Leptos WASM SDK
  • C++20 headers
  • Continuous updates
  • Priority support
  • Slack channel access
Subscribe

Enterprise

Custom
  • Everything in Pro
  • Cap'n Proto v2 early access
  • Custom protocol extensions
  • Dedicated support engineer
  • SLA guarantees
  • On-premise deployment
  • Training & onboarding
Contact Sales