Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@arve.knudsen/libp2p-bootstrap

0.9.8 • Public • Published

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()

Keywords

Install

npm i @arve.knudsen/libp2p-bootstrap

DownloadsWeekly Downloads

1

Version

0.9.8

License

MIT

Unpacked Size

11 kB

Total Files

7

Last publish

Collaborators

  • avatar