Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

mxinden/rust-libp2p-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moved to https://github.com/libp2p/rust-libp2p/tree/master/misc/server

Rust libp2p Server

A rust-libp2p based server implementation running:

Usage

$ cargo run -- --help
libp2p server 0.5.4
A rust-libp2p server binary.

USAGE:
    libp2p-server [FLAGS] [OPTIONS]

FLAGS:
        --enable-autonat     Whether to run the libp2p Autonat protocol
        --enable-kademlia    Whether to run the libp2p Kademlia protocol and join the IPFS DHT
    -h, --help               Prints help information
    -V, --version            Prints version information

OPTIONS:
        --config <config>                Path to IPFS config file
        --metrics-path <metrics-path>    Metric endpoint path [default: /metrics]

$ cargo run
Local peer id: PeerId("12D3KooWDx8yJKVEN5LsCsovRb8HyHKA79cBshzShsE14ioS6Kok")
Listening for metric requests on 0.0.0.0:8080/metrics
Listening on "/ip4/127.0.0.1/tcp/4001"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published