P2P Docs

P2P

The peer-to-peer building blocks—Hypercore, Hyperswarm, Autobase, Hyperbee, Hyperdrive, HyperDHT, and Corestore—independent JavaScript modules for storage, discovery, and replication, usable with or without Pear.

P2P is the peer-to-peer building blocks: Hypercore for append-only logs, Hyperbee and Hyperdrive built on top of it, Hyperswarm and HyperDHT for finding peers, Autobase for multi-writer collaboration, and Corestore for managing many cores at once. Each one is an ordinary JavaScript module with no special status—install it with npm and use it like any other dependency.

They run on Bare, the zero-core JavaScript runtime, which is why the same storage and networking code works unchanged on desktop, mobile, or terminal. And they're what Pear, the peer-to-peer platform, is built on top of—if you want to ship what you build here as an app with over-the-air updates, that's what Pear adds.

Where to go next

On this page