dWeb University

DWDHT Bootstrap

Easily spin up a DWDHT RPC bootstrap node via the command line.

npm install @dwdht/bootstrap

Usage

A dWeb Bootstrap Node is just a normal DHT node, except it doesn't answer any custom queries and will
just forward you to other nodes in the network.

dbootstrap --port=10000

After spinning up a node add it to your @dwdht/rpc bootstrap list

var node = dWebDHT({
  bootstrap: ['mydomain.com:10000']
})

var stream = node.query({
  command: 'your-command',
  target: ...
})

DWDHT Bootstrap


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.