1
0
Fork
You've already forked libp2p-test
0
A quick test to learn how to use libp2p with Rust.
  • Rust 94%
  • Nix 6%
Grafcube 0a082ed542
Remove signal hooks
It's not fully cross-platform.
2024年05月29日 18:15:58 +05:30
src Remove signal hooks 2024年05月29日 18:15:58 +05:30
.gitignore Initial commit 2024年04月23日 17:54:39 +05:30
Cargo.lock Remove signal hooks 2024年05月29日 18:15:58 +05:30
Cargo.toml Remove signal hooks 2024年05月29日 18:15:58 +05:30
flake.lock Add list and kad 2024年05月18日 19:16:13 +05:30
flake.nix Initial commit 2024年04月23日 17:54:39 +05:30
LICENSE Initial commit 2024年04月23日 17:54:39 +05:30
README.md Initial commit 2024年04月23日 17:54:39 +05:30

libp2p test

This is a quick test to figure out how to use libp2p with Rust. It uses QUIC for transport and a simple ping behaviour.

Usage

  1. Run the program in a terminal.

    cargo run
    

    Copy the address printed to the terminal.

  2. Run the program with the address as the argument in another terminal.

    cargo run -- /ip4/127.0.0.1/udp/{PORT}/quic-v1