Lead Maintainer: Brian Faust
yarn add @blockpool-io/peers
import { PeerDiscovery } from "@blockpool-io/peers";
await PeerDiscovery.new("devnet")
.withVersion(">=2.4.0-next.0")
.withLatency(300)
.sortBy("latency")
.findPeersWithPlugin("core-api");
import { PeerDiscovery } from "@blockpool-io/peers";
await PeerDiscovery.new("http://api.testnet.blockpool.io:9031/api/v2/peers")
.withVersion(">=2.4.0-next.0")
.withLatency(300)
.sortBy("latency")
.findPeersWithPlugin("core-api");
yarn test
If you discover a security vulnerability within this package, please send an e-mail to support@blockpool.io. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.
MIT © Blockpool MIT © ARK Ecosystem