
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
blind-peer
Advanced tools
Blind peers help keep hypercores available.
For the client side responsible for requesting cores be kept by Blind Peers, see blind-peering.
To run the server as a CLI, see blind-peer-cli.
npm install blind-peer
to run a blind-peer server, use blind-peer-cli.
To talk to a blind peer, use blind-peering
Here is an example:
import BlindPeering from 'blind-peering'
import Hyperswarm from 'hyperswarm'
import Corestore from 'corestore'
import Wakeup from 'protomux-wakeup'
const store = new Corestore(Pear.config.storage)
const swarm = new Hyperswarm()
const wakeup = new Wakeup()
const DEFAULT_BLIND_PEER_KEYS = ['es4n7ty45odd1udfqyi9xz58mrbheuhdnxgdufsn9gz6e5uhsqco'] // replace with your own key
const blind = new BlindPeering(swarm, store, { wakeup, mirrors: DEFAULT_BLIND_PEER_KEYS })
// Add your autobase
blind.addAutobaseBackground(autobase1)
// Add another core
blind.addCore(core1, autobase1.wakeupCapability.key)
Related services:
https://github.com/holepunchto/autobase-discovery https://github.com/HDegroote/dht-prometheus
const BlindPeer = require('blind-peer')
Apache-2.0
FAQs
Blind peers help keep hypercores available
The npm package blind-peer receives a total of 404 weekly downloads. As such, blind-peer popularity was classified as not popular.
We found that blind-peer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.