P2P and Relay
July 27, 2026 ยท View on GitHub
@taskyon/p2p-core provides browser and Node libp2p entry points, relay support, discovery tokens,
topic routing, and test-network helpers. Start the repository relay with:
yarn relay
The browser exposes P2P chat and monitoring routes for development and diagnostics. Subnetwork secrets are converted to discovery tokens so peers can match without publishing the original secret.
This subsystem is experimental. Use package exports rather than importing private source paths. Workspace-level protocol and storage proposals describe direction, not guaranteed current behavior; the current package documentation and diagnostics are implementation authority.