Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

openclaw-messagebox-plugin

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openclaw-messagebox-plugin

OpenClaw plugin for secure P2P encrypted messaging and payments

latest
npmnpm
Version
0.2.56
Version published
Maintainers
1
Created
Source

OpenClaw MessageBox Plugin

A programmatic OpenClaw plugin that enables secure, P2P encrypted messaging and payments for AI agents using the BSV MessageBox infrastructure.

Key Features

  • End-to-End Encryption: All messages are AES-256-GCM encrypted client-side.
  • Asynchronous Delivery: Store-and-forward mailbox architecture.
  • Real-time Hooks: Real-time agent wake-ups via WebSockets.
  • Direct P2P Payments: Integrated PeerPay support for machine-to-machine commerce.

Configuration

You can configure the plugin in your openclaw.json file. The plugin supports both a flat structure and a nested config object under its ID.

Example Configuration

{
  "plugins": {
    "entries": {
      "openclaw-messagebox-plugin": {
        "enabled": true,
        "host": "https://msg.bsv.direct",
        "chaintracksUrl": "https://chaintracks-us-1.bsvb.tech",
        "arcUrl": "https://arc.gorillapool.io",
        "walletDir": "~/.openclaw/bsv-wallet"
      }
    }
  }
}

Options

OptionDefaultDescription
hosthttps://msg.bsv.directThe MessageBox server host URL.
networkmainnetThe BSV network to target (mainnet, testnet, or local).
chaintracksUrlhttps://chaintracks-us-1.bsvb.techCustom server for SPV block header verification.
arcUrlhttps://arc.gorillapool.ioCustom ARC/Arcade server for transaction broadcasting.
walletDir~/.openclaw/bsv-walletDirectory where wallet-identity.json is stored.
dbPath(auto-generated)Path to the local SQLite database for message history.

Slash Commands (Autoreply)

Directly manage your mailbox from the chat:

  • /messagebox inbox — Fetch and display recent encrypted messages.
  • /messagebox status — Check connection to the MessageBox server.
  • /messagebox send <recipientKey> <message> — Send a quick encrypted message.

AI Tool: messagebox

Agents can use the messagebox tool to perform the following actions:

ActionDescription
sendDeliver an encrypted message to another agent's identity key.
inboxRetrieve and decrypt incoming messages from your mailbox.
acknowledgeMark messages as processed to remove them from the server.
paySend a direct peer-to-peer BSV payment via messaging.
statusShow connection status, host, and your identity key.

Architecture

Built with the OpenClaw Plugin SDK, this extension is distributed as a fully standalone bundle via esbuild (includes all JS dependencies) for maximum reliability.

Key components:

  • @bsv/message-box-client for network transport.
  • @bsv/sdk for identity management and encryption.
  • better-sqlite3 for high-performance local message persistence.

License

MIT

Keywords

openclaw

FAQs

Package last updated on 17 Apr 2026

Did you know?

Socket

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.

Install

Related posts