Skip to content
minip2p
Esc
navigateopen⌘Jpreview
On this page

Introduction

Connect applications over authenticated QUIC and TCP from Rust, Node.js, or React Native.

minip2p connects applications over authenticated QUIC and TCP. Use it from Rust, Node.js, or React Native. The Rust API is synchronous and caller-driven; the TypeScript API uses Promises and typed events.

Choose a starting point

What minip2p does

  • Authenticates peers with Ed25519 identities.
  • Listens and dials over QUIC, TCP, or both.
  • Negotiates custom protocol streams between peers.
  • Adds pubsub, discovery, relay paths, and NAT traversal when requested.
  • Runs on no_std + alloc devices through the portable Rust endpoint.

The base configuration includes QUIC, Identify, Ping, and custom protocols. Optional capabilities keep the same endpoint interface.

Common tasks

Reference

Constraints

pre-1.0 Interfaces may change before the first stable release.
QUIC and TCP The dial address picks the transport.
no_std + alloc Portable Rust applications supply network I/O, time, and entropy.
Rust 1.91+ Minimum supported Rust version.
Node.js 24+ Minimum supported Node.js version.

Last updated on September 7, 2026

Was this page helpful?