eth-libp2p-bootstrap
v0.0.1
Published
Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list
Downloads
4
Readme
js-libp2p-bootstrap
JavaScript libp2p Implementation of the railing process of a Node through a bootstrap peer list
Lead Maintainer
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()