dWeb University

Flock Network Presets


Use dWeb presets for dWeb dns and BitTorrent dht servers in @flockcore/core or @flockcore/revelation. The dWeb dDNS and dWeb DHT servers are used to revelate other peers.


Create a config object and pass it to a Revelation Flock.

Any options you specify will overwrite the defaults. See Revelation Flock for options.

var Flock = require('@flockcore/revelation')
var presets = require('@flockcore/presets')

var config = presets({
  stream: function () {
    return drive.createPeerStream()
var flock = Flock(config)

Flock Network Presets

Suggested Edits are limited on API Reference Pages

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