Documentation
Welcome to the official documentation for Warpnet, a peer-to-peer social network with no central servers. Every account lives on its owner’s node, the desktop app or a headless server node, which keeps the account’s data in an encrypted local database and talks to other nodes over encrypted connections. Phones pair with a node and act through it.
This documentation covers everything you need to use Warpnet, understand how it works, run your own nodes, and contribute to the project.
Start with the principles the network is built on.
Introduction
-
Principles
The general principles of the Warp Network that every design decision in Warpnet follows.
Get started
-
User guide
Install Warpnet, choose a network, create your account, connect your phone and learn what your login and password protect.
-
Mobile apps
The Warpnet apps for Android and iOS, how they pair with your node, and what works on a phone today.
-
Running a node
Always-on setups (remote node, relay node, Docker), the full configuration reference and the data directory layout.
-
Backup and restore
What to back up, how to restore or move your Warpnet account to another machine, and what cannot be recovered.
-
FAQ
Short answers about what Warpnet is, how it compares, where your data lives, moderation, mobile apps and running a node.
How it works
-
Architecture
How Warpnet fits together - node types, bootstrap nodes, clients, identity, networks, the main subsystems and the path a post takes from its author to followers.
-
Member node
Inside the member node - its build flavours (desktop, remote, echo), boot sequence, request path and the components that store, publish and discover.
-
Relay node
The relay node type - what it does, how it relates to bootstrap nodes, what it keeps in memory, its circuit relay limits, and how to run your own.
-
Protocol
How Warpnet nodes talk to each other - libp2p protocol IDs, the signed message envelope, request/response streams, gossip topics, versioning and errors.
-
Discovery
How a Warpnet node finds other nodes - the bootstrap list, the Kademlia DHT and rendezvous, gossip announcements, mDNS and inbound requests - and how it filters and ranks them.
-
Network and transport
What a Warpnet node and the mobile apps connect to, what is wrapped around every connection (TLS camouflage, public PSK, Noise, yamux), how nodes behind NAT are reached, and who can see what.
-
Synchronization
How Warpnet nodes agree on shared counters and node ratings without a server, using signed Merkle-CRDTs split into day-sized DAGs.
-
Storage
Where a Warpnet node keeps its data, how the database is encrypted with a key derived from your login and password, how keys are laid out, and what expires on its own.
Trust and safety
-
Security
How Warpnet derives your keys, encrypts your data and connections, authenticates every message, limits abuse, and what it does not protect against.
-
Moderation
How reported posts and profiles are judged by independent moderator nodes that vote, what happens to moderated content, the controls every user has on their own node, and how to run a moderator.
-
Node rating
How every Warpnet node is rated by the nodes around it, how a rating heals on its own, and what a low rating changes for a node.
-
Trust circle
How your node works out which people you know, directly or through friends, and blurs media from everyone else until you choose to see it.
Ecosystem
-
Bridges
How Warpnet shows and interacts with accounts on other networks - Mastodon and the Fediverse, Threads, and Nostr - through a bridge gateway peer, what your node sends to it, and what it means for your privacy.
Developers
-
Developer guide
Build Warpnet from source, run every node role locally, find your way around the code, add a route, and get a change merged.
-
Clients
How the desktop app, the browser dashboard and the Android and iOS apps reach a Warpnet node, how pairing works, and how to keep every client in step with the Go protocol.
-
API reference
The routes Warpnet nodes serve, grouped by area, with visibility, purpose and the request and response types each handler decodes and returns.
-
Stream API
How to call a Warpnet node over libp2p streams - connecting, framing, the signed JSON envelope, a full request/response example, pairing for private routes, and error handling.
-
WebSocket API
The remote node's /ws bridge - Noise XX handshake, encrypted JSON frames, login and enrolment, request and response envelopes, errors.
Project
-
How to help
Ways to support Warpnet, from testing on testnet and reporting bugs to running a relay or moderator node, writing code, translating, and donating.
-
Legal
Privacy policy, terms and conditions, contributor license agreement and the AGPLv3 license.