Home > Engineering > Substrate > Pear

Pear

Pear is Holepunch’s peer-to-peer application runtime. It provides the substrate for fully peer-to-peer apps — no servers. Discovery and data exchange happen directly between peers through Hypercore, Hyperbee, and Hyperswarm. Applications are distributed and updated peer-to-peer; identity is cryptographic.

As a language, Pear shapes what is sayable in the P2P fabric: identity-by-key, append-only streams, topic-based discovery, swarm connectivity.

Pear’s role in SPLectrum is the carrier for decentralised exchange between subject realities. P4 — equal standing — requires no central authority mediating between peers; Pear provides the mechanism.

Detailed design for SPLectrum’s use of Pear is future work. See Infrastructure for the Bare-level modules that realise peer-to-peer capabilities.