Skip to content

antimatter15/js-libp2p-bootstrap

 
 

Repository files navigation

js-libp2p-bootstrap

Coverage Status Travis CI Circle CI Dependency Status 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 Railing(options)

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

b.start()

About

Rail a libp2p node through a bootstrap peer list

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.6%
  • Groovy 7.4%