0.0.1 • Published 5 years ago

eth-libp2p-kad-dht v0.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

eth-libp2p-kad-dht

Table of Contents

Install

npm

> npm i libp2p-kad-dht

Use in Node.js

const KadDHT = require('libp2p-kad-dht')

API

See https://libp2p.github.io/js-libp2p-kad-dht for the auto generated docs.

The libp2p-kad-dht module offers 3 APIs: Peer Routing, Content Routing and Peer Discovery.

Peer Routing

npm.io

Content Routing

npm.io

Peer Discovery

npm.io

libp2p-kad-dht provides a discovery service called Random Walk (random walks on the DHT to discover more nodes). It is accessible through dht.randomWalk and exposes the Peer Discovery interface.

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

npm.io

License

MIT - Protocol Labs 2017