Bytes, Distributed.
Iroh is a protocol for syncing & moving bytes. Bytes of any size, on any device. At it's core, it's a peer-2-peer network built on a magic socket that establishes QUIC connections between peers. Peers request and provide blobs of opaque bytes that are incrementally verified by their BLAKE3 hash during transfer.
Using Iroh
Iroh is delivered as a Rust library and a CLI. Run cargo build
to build the iroh
CLI. To use iroh in your project, check out https://iroh.computer/install to get started.
As a library
Disable default features when using iroh
as a library:
iroh = { version: "...", default-features = false }
This removes dependencies that are only relevant when using iroh
as a cli.
License
Copyright 2023 N0, INC.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.