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: 4 months ago
JSON representation
libp2p-rs tutorial with gossip protocol
- Host: GitHub
- URL: https://github.com/rkdud007/gossip-p2p-tutorial-rs
- Owner: rkdud007
- Created: 2024-01-27T13:54:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-28T09:26:37.000Z (over 1 year ago)
- Last Synced: 2025-01-03T19:43:24.523Z (6 months ago)
- Topics: gossip-protocol, libp2p, rust
- Language: Rust
- Homepage:
- Size: 61.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```