go-libp2p-examples icon indicating copy to clipboard operation
go-libp2p-examples copied to clipboard

Example libp2p applications

Results 40 go-libp2p-examples issues
Sort by recently updated
recently updated
newest added

I have been trying to find a solution to customize http_proxy/proxy.go to meet my requirement as follows. In the illustration of http_proxy, it has been said that a non-p2p client...

When running the [routed-echo](https://github.com/libp2p/go-libp2p-examples/tree/master/routed-echo) example with the "global" flag set to false, the local ipfs daemon returns a 405 when `http://localhost:5001/api/v0/id` is invoked using `http.Get`. The endpoint should be called...

The relay address has to be provided. OptDiscovery is no-op.

- Should I openStream every time like multipro did

Hi, On the pubsub\chat example, i'm able to build and run different clients but when i send a message, i only see the message in my CMD, not in the...

I am using Windows 10. If I build the chat-with-rendezvous program and then type the following command in the console `chat-with-rendezvous.exe -listen /ip4/127.0.0.1/tcp/6666` I get the error: ```13:56:18.245 INFO rendezvous:...

**how to create my own bootstrap peer like DefaultBootstrapPeers in [github.com/libp2p/go-libp2p-kad-dht/dht_bootstrap.go:16](https://github.com/libp2p/go-libp2p-kad-dht/blob/8a40bef78cf7d9c742a04f356b9dbdf27db782fd/dht_bootstrap.go#L20) ** In the [chat-with-rendezvous](https://github.com/libp2p/go-libp2p-examples/tree/master/chat-with-rendezvous) example, I tried to use a chat-with-rendezvous instance as a bootstrap. For nodes in other...

the imports in host.go should include _"github.com/libp2p/go-libp2p-core/peer" to make it easier to run commented-out code for connecting to bootstrap peers.

It can be a tad bit tricky to understand how a peer acts as an AutoNAT client, how it discover's it's own reachability and how to configure/force reachability states. Let's...

AutoRelay is a slightly complicated subsystem and it would be good to add an examples that shows how to configure it and use it.