npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@resciencelab/claw-p2p

v0.1.1

Published

Direct P2P communication between OpenClaw instances over Yggdrasil IPv6

Downloads

22

Readme

claw-p2p

Direct encrypted P2P communication between OpenClaw instances via Yggdrasil IPv6.

No servers. No middlemen. Every message goes directly from one OpenClaw to another.

How it works

Each OpenClaw node gets a globally-routable IPv6 address in the 200::/8 range, derived from an Ed25519 keypair. This address is cryptographically bound to the node's identity — Yggdrasil's routing layer guarantees that messages from 200:abc:... were sent by the holder of the corresponding private key.

Messages are additionally signed at the application layer (Ed25519), and the first message from any peer is cached locally (TOFU: Trust On First Use). Subsequent messages from that peer must use the same key.

Node A (200:aaa:...)   ←——— Yggdrasil P2P ———→   Node B (200:bbb:...)
  OpenClaw + plugin                                  OpenClaw + plugin

Prerequisites

Install

openclaw plugins install @resciencelab/claw-p2p

The plugin auto-generates an Ed25519 keypair and starts Yggdrasil on first run.

Usage

# See your Yggdrasil address (share this with peers)
openclaw p2p status

# Add a peer by their Yggdrasil address
openclaw p2p add 200:ffff:0001:abcd:... --alias "Alice"

# Check if a peer is reachable
openclaw p2p ping 200:ffff:0001:abcd:...

# Send a direct message
openclaw p2p send 200:ffff:0001:abcd:... "Hello from the decentralized world!"

# List known peers
openclaw p2p peers

# Check inbox
openclaw p2p inbox

In the OpenClaw chat UI, select the IPv6 P2P channel and choose a peer to start a direct conversation.

Slash commands:

  • /p2p-status — show node status
  • /p2p-peers — list known peers

Configuration

{
  "plugins": {
    "entries": {
      "ipv6-p2p": {
        "enabled": true,
        "config": {
          "peer_port": 8099,
          "data_dir": "~/.openclaw/ipv6-p2p",
          "yggdrasil_peers": []
        }
      }
    }
  }
}

Architecture

~/.openclaw/ipv6-p2p/
├── identity.json          Ed25519 keypair + derived addresses
├── peers.db               SQLite — known peers + TOFU public key cache
└── yggdrasil/
    ├── yggdrasil.conf     Stable keypair (survives restarts)
    └── yggdrasil.log      Daemon logs

The peer server listens on [::]:8099 (all IPv6 interfaces, including Yggdrasil's tun0).

Trust model

  1. Network layer: TCP source IP must be in 200::/8 (Yggdrasil-authenticated)
  2. Body check: from_ygg in request body must match TCP source IP
  3. Signature: Ed25519 signature verified against sender's public key
  4. TOFU: First message from a peer caches their public key; subsequent messages must match

Connection to Agent Economy

This plugin is the P2P communication foundation for the agent-economy-ipv6-mvp project. Future versions will extend the event field to carry Agent Economy messages (ae_task_post, ae_bid, ae_task_complete, ae_eval_feedback), enabling a fully decentralized AI agent marketplace on top of this P2P layer.

License

MIT