Skip to content

PeARSearch/PeARS-dht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This library is in its early development stage. Currently it is a very simple kademlia DHT. Please come back when we are in beta! 🥹

PeARS-dht

Open in Gitpod

DHT implementation for PeARS network

Requirements

You can click the button on top and open this repo on gitpod to get an environment with PeARSd-dht already setup

go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28

Usage

We use the make targets defined in Makefile to create a multi-node setup locally for testing purposes.

  • Each pears-dht node need a port to work, the default being 8080. This is used by the DHT to function

  • To start the first node, run the following command:

    make build
    ./bin/pears-dht # run ./bin/peards-dht --help if you want to change port, node ID etc.
    

    The above, will start the DHT in port 8080

  • If you are developing and want to testing it quick, run the command make run (or go run main.go)

About

[WIP] DHT implementation for PeARS network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published