docs icon indicating copy to clipboard operation
docs copied to clipboard

go-libp2p Project Flare example

Open Elara6331 opened this issue 3 years ago • 4 comments

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.

Elara6331 avatar Jul 11 '22 02:07 Elara6331

@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?

mxinden avatar Jul 11 '22 03:07 mxinden

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.

Elara6331 avatar Jul 11 '22 03:07 Elara6331

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.

BigLep avatar Aug 05 '22 16:08 BigLep

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

p-shahi avatar Aug 26 '22 15:08 p-shahi