package
0.0.0-20240506030137-dac3f22597bc
Repository: https://github.com/jerry-se/libp2p-node.git
Documentation: pkg.go.dev

# README

libp2p-bootstrap-node

libp2p bootstrap node

go

代码参考: https://github.com/libp2p/go-libp2p

rust

代码参考: https://github.com/libp2p/rust-libp2p/tree/master/misc/server

# 编译
cargo build
cargo build --release
# 运行
cargo run -- --config ./config.json --enable-kademlia --enable-autonat
./libp2p-server --config ./config.json --enable-kademlia --enable-autonat

打开 tracing log 需要设置环境变量 RUST_LOG=info

说明

  1. 部署引导节点的服务器必须要有公网 IP。

参考资料

当前应该有两种引导节点的实现,一种是 Rust libp2p Server,另一种是 Kubo (Go 语言的实现) 。

以前应该是可以通过 JS 搭建的,后来要使用 CID,研究了新的 amino protocol。

# Variables

No description provided by the author