Skip to content
Rail a libp2p node through a bootstrap peer list
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples refactor: use aegir Apr 15, 2016
src refactor: callbacks -> async/await (#89) Jul 15, 2019
test refactor: callbacks -> async/await (#89) Jul 15, 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 chore: release version v0.10.0 Jul 15, 2019
LICENSE
README.md chore: add discourse badge (#91) Apr 11, 2019
package.json

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.