-
Couldn't load subscription status.
- Fork 10
dWeb Bootstrap Node
Jared Rice Sr edited this page Jul 1, 2018
·
1 revision
Easily spin up a @dwdht/rpc bootstrap node via the command line.
npm install @dwdht/bootstrap
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=10000After 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: ...
})