Skip to content
Rail a libp2p node through a bootstrap peer list
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples refactor: use aegir Apr 15, 2016
src fix: discover peers faster (#86) Jan 3, 2019
test fix: discover peers faster (#86) Jan 3, 2019
.gitignore Fix/bundle size (#84) Jan 10, 2019
.npmignore refactor: use aegir Apr 15, 2016
.travis.yml chore: use travis (#88) Feb 25, 2019
CHANGELOG.md
LICENSE
README.md chore: add discourse badge (#91) Apr 11, 2019
package.json chore: add discourse badge (#91) Apr 11, 2019

README.md

js-libp2p-bootstrap

Discourse posts js-standard-style

JavaScript libp2p Implementation of the railing process of a Node through a bootstrap peer list

Lead Maintainer

Vasco Santos.

Usage

const bootstrap = require('libp2p-bootstrap')

const options = {
  list: <List of Multiaddrs>
  interval: 5000 // ms, default is 10s
}

const b = new bootstrap(options)

b.on('peer', function (peerInfo) {
  // found a new peer
})

b.start()
You can’t perform that action at this time.