TOOLKIT·ARCADE

Developer Documentation

Build the real local network.
Where physical proximity guarantees authenticity.

Quick Start Example

import { P2PProvider, usePeer } from 'toolkit-p2p';

function ChatApp() {
  const { peers, send } = usePeer();

  return (
    <P2PProvider transport="hybrid">
      <div>
        <h1>Connected: {peers.length}</h1>
        <button onClick={() => send('Hello!')}>
          Send Message
        </button>
      </div>
    </P2PProvider>
  );
}

Why Toolkit-P2P

🔌

Multiple Transports

Bluetooth LE, WiFi Direct, or hybrid — seamless switching

🔒

Authenticity Built-In

Physical proximity verifies every peer — no bots, no farms

Low Latency

Optimized for real-time gaming with sub-50ms delivery