Nostr
Connect to the Nostr decentralized network so users can chat with your agents via any Nostr client.Setup
- Generate a Nostr keypair for your bot (or use an existing one)
- In Pawz, go to Settings → Channels
- Select Nostr
- Enter:
- Private key — bot’s nsec key
- Relays — comma-separated relay URLs (e.g.,
wss://relay.damus.io,wss://nos.lol)
- Start the channel
Configuration
Features
- Public kind-1 text note replies (NIP-01)
- NIP-04 encrypted direct messages (kind-4)
- Per-user sessions with memory
- Prompt injection scanning
- Agent routing via channel routing rules
- Multi-relay support
- BIP-340 Schnorr-signed events
- ECDH shared secret + AES-256-CBC encryption for DMs
Roadmap
Tips
- Use multiple relays for reliability
- The bot’s public key (npub) is derived from the private key automatically
- Users can find your bot by its npub on any Nostr client
- Consider publishing a NIP-05 identifier for discoverability

