command
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Nov 3, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This project is a simple implementation of kad-dht bootstrap node based on go-libp2p.
Usage:
- Go module download
go mod tidy
- Run as default(bind on '0.0.0.0' port:4001):
- or Run with custom:
go run main.go -host [host] -port [port]
example output:
[*] Listening on: 0.0.0.0 with port: 4001
[*] Your Bootstrap ID Is: /ip4/0.0.0.0/tcp/4001/p2p/QmP2C45o2vZfy1JXWFZDUEzrQCigMtd4r3nesvArV8dFKd
- Copy the bootstrap id to your bootstrap nodes list and enjoy.
Notice: for a test example with kad-dht, visit go-libp2p-examples
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.