Skip to content

d1ll0n/eth-libp2p-delegated-peer-routing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-libp2p-delegated-peer-routing

Leverage other peers in the network to perform Peer Routing calls.

Example

const DelegatedPeerRouting = require('eth-libp2p-delegated-routing')

// default is to use ipfs.io
const routing = new DelegatedPeerRouing()

routing.findPeer('peerid', (err, peerInfo) => {
  if (err) {
    return console.error(err)
  }

  console.log('found peer details', peerInfo)
})

License

MIT

About

Leverage other peers in the network to perform Peer Routing calls.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Groovy 0.2%