tx5

Crates.iotx5
lib.rstx5
version0.8.0
created_at2023-01-17 17:45:49.978828+00
updated_at2025-08-28 16:44:57.767294+00
descriptionThe main holochain tx5 webrtc networking crate
homepage
repositoryhttps://github.com/holochain/tx5
max_upload_size
id761138
size246,150
Eric Harris-Braun (zippy)

documentation

https://docs.rs/tx5

README

P2P WebRTC connection establishment and pooling. Tx5 uses SBD as the WebRTC signaling protocol for connection establishment, providing an interface where you can attempt to send data to any known peer with the expectation that Tx5 will open a connection to that peer or use an existing open connection.

Project Forum Chat

License: MIT License: Apache-2.0

Tx5

  • tx5 - crates.io - The main holochain tx5 webrtc networking crate integrating the other code in this monorepo.

Tx5 Support Crates

  • tx5-connection - crates.io - Holochain webrtc connection.
  • tx5-core - crates.io - Core types used in other tx5 crates.
  • tx5-online - crates.io - Network online connectivity status events.
  • tx5-go-pion-turn - crates.io - Rust process wrapper around tx5-go-pion-turn executable.
  • tx5-go-pion-sys - crates.io - Low level rust bindings to the go pion webrtc library.
  • tx5-go-pion - crates.io - Higher level rust bindings to the go pion webrtc library.
  • tx5-signal - crates.io - Holochain webrtc signal client.
  • tx5-demo - crates.io - Demo showing off tx5 p2p connectivity.

tx5

Tx5 - The main holochain tx5 webrtc networking crate.

WebRTC Backend Features

Tx5 can be backed currently by 1 of 2 backend webrtc libraries.

The go pion library was the original implementation, but as libdatachannel has reached stability, we have switched it over to be the default as it is much easier to write rust FFI bindings to C++ code than Go code.

Commit count: 260

cargo fmt