#holochain #networking #kitsune

kitsune2_transport_iroh

The iroh-based transport implementation for kitsune2

3 releases

0.4.0 Dec 2, 2025
0.4.0-dev.2 Jan 3, 2026
0.4.0-dev.1 Dec 17, 2025
0.4.0-dev.0 Dec 3, 2025

#11 in #kitsune

Download history 29/week @ 2025-11-29 124/week @ 2025-12-06 118/week @ 2025-12-13 105/week @ 2025-12-20 121/week @ 2025-12-27 387/week @ 2026-01-03 416/week @ 2026-01-10 476/week @ 2026-01-17 341/week @ 2026-01-24 248/week @ 2026-01-31

1,653 downloads per month

Apache-2.0

330KB
7K SLoC

Kitsune2 transport implementation backed by iroh.

This transport establishes peer-to-peer connections using iroh's QUIC-based networking. It manages outgoing and incoming connections dynamically, sending and receiving data as framed messages over persistent uni-directional streams.

Each message is framed with a header that specifies the frame type (preflight or data) and the data length, leading to ordered and bounded message delivery. The peer URL is sent as part of the preflight to inform the remote about it and make it available to respond to on the transport level. Since there is no discovery service present in the kitsune2 architecture, the remote URL must be sent with the preflight. Incoming streams are accepted and handled asynchronously per connection. There is one stream open per direction, over which all frames are sent.


kitsune2

p2p / dht communication framework

Dependencies

~43–82MB
~1.5M SLoC