Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rkdud007/gossip-p2p-tutorial-rs

libp2p-rs tutorial with gossip protocol
https://github.com/rkdud007/gossip-p2p-tutorial-rs

gossip-protocol libp2p rust

Last synced: 8 days ago
JSON representation

libp2p-rs tutorial with gossip protocol

Awesome Lists containing this project

README

        

# Goofy Gossip protocol p2p network

Simple gossip protcol implementation with rust libp2p library inspired by ping-pong tutorial from : https://github.com/libp2p/rust-libp2p/blob/master/libp2p/src/tutorials/ping.rs

### Run

First Terminal

```sh
cargo run
```

you will get like this

```sh
Listening on "/ip4/127.0.0.1/tcp/51323"
Listening on "/ip4/192.168.0.3/tcp/51323"
Listening on "/ip4/169.254.58.22/tcp/51323"
```

Second terminal

```sh
cargo run -- /ip4/127.0.0.1/tcp/51323
```