Skip to content

BenDerPan/simple-bootstrap-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project is a simple implementation of kad-dht bootstrap node based on go-libp2p.

Usage:

  1. Run as default(bind on '0.0.0.0' port:4001):
  • for linux: ./bootnode.amdx64-linux
  • for windows: bootnode.amdx64-windows.exe
  1. or Run with custom:
  • for linux: ./bootnode.amdx64-linux -host [host] -port [port]
  • for windows: bootnode.amdx64-windows.exe -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
  1. Copy the bootstrap id to your bootstrap nodes list and enjoy.

Notice: for a test example with kad-dht, visit go-libp2p-examples

About

A simple bootstrap node for kad-dht ( go-libp2p-kad-dht )

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages