docs
docs copied to clipboard
go-libp2p Project Flare example
Currently, there are various docs, articles, and public talks describing what project flare is and does, but I can't find anything that describes how to actually use it. It would be nice if there was an example of a server and client that could connect and exchange data without any centralized infrastructure while both are behind NATs.
@Arsen6331 https://blog.ipfs.io/2022-01-20-libp2p-hole-punching/ gives you the high level overview. Towards the end the rust-libp2p hole punching tutorial is linked, which will show you hands-on how to use the Project Flare stack.
https://docs.rs/libp2p/0.46.1/libp2p/tutorials/hole_punching/index.html
Is this of any help?
Well, I use Go (probably should've mentioned that), so I'd prefer a Go tutorial, but hopefully I can look at the Rust tutorial and get enough information to use the Go implementation.
2022-08-05 conversation: agreed this would be useful, even if we just link out to Rust docs (like provided here), future Testground testplans showing the setup.
Requires some coding and setup of servers on different machines including docs that detail what's happening. We can get to this after the MVP set of changes for docs site