dweb-dht-rpc-bootstrap

1.0.0 • Public • Published

dweb-dht-rpc-bootstrap

Easily spin up a dht-rpc bootstrap node from the command line.

npm install dweb-dht-rpc-bootstrap

Usage

A 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.

dweb-dht-rpc-bootstrap --port=10000

After spinning up a node add it to your dht-rpc bootstrap list

var node = dht({
  bootstrap: ['mydomain.com:10000']
})
 
var stream = node.query({
  command: 'cool-stuff',
  target: ...
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i dweb-dht-rpc-bootstrap

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

2.69 kB

Total Files

5

Last publish

Collaborators

  • shikhars3711