OpenClaw Nostr DM channel plugin with NIP-04, NIP-17, and multi-account support
Bundle Pluginsource linked
README
Nostr NIP-17 for OpenClaw
OpenClaw channel plugin for Nostr direct messages with support for both legacy NIP-04 DMs and modern NIP-17 gift-wrapped DMs.
Features
- inbound and outbound NIP-04 direct messages
- inbound and outbound NIP-17 gift-wrapped direct messages
- multi-account support under
plugins.entries.nostr-nip17.config.accounts - standard OpenClaw pairing and DM policy integration
- plugin-owned relay subscriptions per configured account
Install
ClawHub
Install from ClawHub when published.
npm
npm install @openclaw/nostr-nip17
Minimum host version
- OpenClaw
2026.4.12or newer
Config
Default account stays in channels.nostr.
Additional accounts live under the plugin entry.
{
"channels": {
"nostr": {
"enabled": true,
"name": "Cody",
"privateKey": "${NOSTR_PRIVATE_KEY}",
"relays": ["wss://relay.damus.io", "wss://nos.lol"],
"dmPolicy": "allowlist",
"allowFrom": ["npub1..."]
}
},
"plugins": {
"entries": {
"nostr-nip17": {
"enabled": true,
"config": {
"accounts": {
"ink": {
"enabled": true,
"name": "Ink",
"privateKey": "${NOSTR_INK_PRIVATE_KEY}",
"relays": ["wss://relay.damus.io", "wss://nos.lol"],
"dmPolicy": "allowlist",
"allowFrom": ["npub1..."],
"nip04Enabled": true,
"nip17Enabled": true,
"outboundMode": "nip17"
}
}
}
}
}
}
}
Release notes
This package is intended to ship as a bundled channel entry using OpenClaw's plugin SDK imports only.
Capabilities
- Bundle format
- portable
- Host targets
- gateway
- Runtime ID
- nostr-nip17
Compatibility
- Built With Open Claw Version
- 0.1.1
- Min Gateway Version
- >=2026.4.12
- Plugin Api Range
- >=2026.4.12
Verification
- Tier
- source linked
- Scope
- artifact only
- Summary
- Validated package structure and linked the release to source metadata.
- Commit
- e824a82e04ee
- Tag
- e824a82e04eea27aa7a237b7feeeca9bead3e0d1
- Provenance
- No
- Scan status
- clean
Tags
- latest
- 0.1.1
