ipfs-railing

0.1.1 • Public • Published

node-ipfs-railing

Dependency Status js-standard-style

Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list

Usage

var Bootstrap = require('ipfs-railing')
 
var options = {
    verify: true // to verify that we can indeed open a connection to that peer, before declaring it as peer found 
}
 
var peerList = <your custom peerList> || Bootstrap.default
 
var b = new Bootstrap(Bootstrap.default, options, swarm)
 
b.on('peer', function (peer) {
  // found a new peer
})

Readme

Keywords

Package Sidebar

Install

npm i ipfs-railing

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • daviddias