A quick test to learn how to use libp2p with Rust.
- Rust 94%
- Nix 6%
|
|
||
|---|---|---|
| src | Remove signal hooks | |
| .gitignore | Initial commit | |
| Cargo.lock | Remove signal hooks | |
| Cargo.toml | Remove signal hooks | |
| flake.lock | Add list and kad | |
| flake.nix | Initial commit | |
| LICENSE | Initial commit | |
| README.md | Initial commit | |
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
-
Run the program in a terminal.
cargo runCopy the address printed to the terminal.
-
Run the program with the address as the argument in another terminal.
cargo run -- /ip4/127.0.0.1/udp/{PORT}/quic-v1