Skip to content

Overview

Welcome to the developer documentation for dart-libp2p, a Dart implementation of the libp2p network stack.

This documentation provides a comprehensive guide to understanding and using the library, from basic setup to advanced concepts.

  • Getting Started: A step-by-step guide to setting up your first libp2p node.
  • Architecture: A high-level overview of the library’s architecture.
  • Configuration: Learn how to configure your libp2p node using the flexible options system.
  • Host: Understand the central Host component that ties everything together.
  • Transports: Discover how to use different network transports like TCP and UDX.
  • Security: Learn about securing connections with protocols like Noise.
  • Multiplexing: Understand how multiple streams are managed over a single connection with Yamux.
  • Protocols: Explore the core libp2p protocols like Ping and Identify.
  • Peerstore: Learn about the database for peer information.
  • Event Bus: Subscribe to and emit events within the libp2p host.
  • Resource Manager: Protect your node from resource exhaustion.
  • Cookbook: Practical examples and recipes for common tasks.