#waku #p2p #pub-sub #networking

waku-bindings

Waku networking library

17 releases (5 breaking)

0.6.0 Feb 19, 2024
0.5.0 Dec 11, 2023
0.4.0 Oct 30, 2023
0.2.0 Jul 13, 2023
0.1.0-beta1 Nov 29, 2022

#1614 in Network programming

Download history 21/week @ 2024-01-08 3/week @ 2024-01-22 2/week @ 2024-02-05 52/week @ 2024-02-12 147/week @ 2024-02-19 73/week @ 2024-02-26 90/week @ 2024-03-04 60/week @ 2024-03-11 8/week @ 2024-03-18 22/week @ 2024-03-25 60/week @ 2024-04-01 1/week @ 2024-04-08 5/week @ 2024-04-15

88 downloads per month
Used in 6 crates (via graphcast-sdk)

MIT/Apache

1.5MB
31K SLoC

Go 29K SLoC // 0.1% comments Rust 2K SLoC // 0.0% comments SQL 93 SLoC C 20 SLoC // 0.2% comments Shell 14 SLoC // 0.2% comments

Waku Rust bindings

github crates.io docs.rs build status

Rust api on top of waku-sys bindgen bindings to c ffi bindings.

Usage

Add this to your Cargo.toml:

[dependencies]
waku-bindings = "0.1.0"

About Waku

Waku is the communication layer for Web3. Decentralized communication that scales.

Private. Secure. Runs anywhere.

What is Waku?

Waku is a suite of privacy-preserving, peer-to-peer messaging protocols.

Waku removes centralized third parties from messaging, enabling private, secure, censorship-free communication with no single point of failure.

Waku provides privacy-preserving capabilities, such as sender anonymity,metadata protection and unlinkability to personally identifiable information.

Waku is designed for generalized messaging, enabling human-to-human, machine-to-machine or hybrid communication.

Waku runs everywhere: desktop, server, including resource-restricted devices, such as mobile devices and browsers. How does it work?

The first version of Waku had its origins in the Whisper protocol, with optimizations for scalability and usability. Waku v2 is a complete rewrite. Its relay protocol implements pub/sub over libp2p, and also introduces additional capabilities:

  1. Retrieving historical messages for mostly-offline devices.
  2. Adaptive nodes, allowing for heterogeneous nodes to contribute.
  3. Bandwidth preservation for light nodes.

This makes it ideal for running a p2p protocol on mobile, or in other similarly resource-restricted environments.

Read the Waku docs

Dependencies

~18–28MB
~390K SLoC