Home > Engineering > Third Party Software > P2P building blocks
P2P building blocks
The distributed-data and networking primitives at the heart of the stack — the Hypercore family for storage, plus the networking, crypto, and availability layers built around it. These are usable directly, on their own: many projects depend on them without ever touching Pear. The HAICC platform uses them this way, on Bare.
Storage
- Hypercore — append-only, secure log; the core primitive.
- Hyperbee — B-tree key-value store on a Hypercore.
- Hyperdrive — file system over Hypercores.
- Corestore — manages many Hypercores under one backend.
- Autobase — multi-writer log built from many Hypercores.
- Autobee — multiwriter Hyperbee; experimental.
- Hyperblobs — blob storage on a Hypercore.
Networking & transport
- HyperDHT — the distributed hash table peers find each other through.
- Hyperswarm — topic-based peer discovery and connection.
- UDX — fast UDP-based transport.
- secret-stream — end-to-end encrypted Noise streams.
- protomux — multiplexed protocol channels over one stream.
Encoding & schemas
- compact-encoding — the binary encoding the stack’s wire formats are written in.
- Hyperschema — an upstream helper for defining encodings; its wire format changed in 1.23.0 (bool arrays) and 1.25.0 (
framed). Reference at docs.pears.com. - HRPC — an upstream RPC helper. Reference at docs.pears.com.
Crypto & security
- The key model — network identity keys, core keys, discovery keys, and encryption keys.
- The P2P security model — how trust and encryption work across the stack.
Availability & relays
Upstream now documents availability as pear seed plus blind peering, and relaying as blind-relay, used when hole-punching fails.
- blind-peering — the client that asks blind peers to store and serve your cores.
- blind-peer — the server side of blind peering (the
blind-peerlibrary,blind-peer-cli, andpear blind-peer start); upstream reference at docs.pears.com. - blind-relay — relays connections without reading payloads.
- seeders — an older availability helper, absent from the current docs.
- dht-relay — reach the DHT from environments that can’t speak it directly; experimental, absent from the current docs.
See Also
- Docs: docs.pears.com/p2p/reference
- Breaking changes: docs.pears.com/p2p/release-overview
- Repo: github.com/holepunchto