Skip to main content
iroh-go is still considered experimental but ready for testing and open for contribution to improve the quality and reliability of the bindings. There is a specific focus on making the installation and cross platform support as simple as possible.

Install

We’re aiming to publish a stable tag once we see more usage and adoption of the Go bindings.

Hello, iroh

This binds an endpoint using the N0 preset (public discovery + default relays), waits until it has a home relay, and prints its 64-character endpoint id. Run it with go run.

Next steps

Bidirectional chat

Connect two endpoints and stream messages between them.

Multiple live connections

Connect multiple endpoints and broadcast messages.

iroh-go repository

Source, examples, and issue tracker for the iroh Go FFI bindings. Contributions are welcome!