A Nostr library for Perl.
Net::Nostr provides both client and relay functionality, with broad NIP support covering identity, messaging, encryption, social features, and more.
$ cpanm Net::Nostr
Full API documentation: https://metacpan.org/pod/Net::Nostr
- NIP-01 - Basic protocol flow
- NIP-02 - Follow list
- NIP-03 - OpenTimestamps attestations for events
- NIP-05 - Mapping Nostr keys to DNS-based internet identifiers
- NIP-06 - Basic key derivation from mnemonic seed phrase
- NIP-09 - Event deletion request
- NIP-10 - Text notes and threads
- NIP-11 - Relay information document
- NIP-13 - Proof of Work
- NIP-15 - Nostr Marketplace
- NIP-17 - Private direct messages
- NIP-18 - Reposts
- NIP-19 - bech32-encoded entities
- NIP-21 -
nostr:URI scheme - NIP-22 - Comment
- NIP-23 - Long-form content
- NIP-24 - Extra metadata fields and tags
- NIP-25 - Reactions
- NIP-27 - Text note references
- NIP-28 - Public chat
- NIP-29 - Relay-based groups
- NIP-32 - Labeling
- NIP-34 - git stuff
- NIP-35 - Torrents
- NIP-36 - Sensitive Content / Content Warning
- NIP-40 - Expiration timestamp
- NIP-42 - Authentication of clients to relays
- NIP-43 - Relay Access Metadata and Requests
- NIP-44 - Encrypted payloads (versioned)
- NIP-45 - Event counts
- NIP-46 - Nostr Remote Signing
- NIP-47 - Nostr Wallet Connect
- NIP-49 - Private key encryption
- NIP-50 - Search capability
- NIP-51 - Lists
- NIP-52 - Calendar Events
- NIP-53 - Live Activities
- NIP-54 - Wiki
- NIP-56 - Reporting
- NIP-57 - Lightning Zaps
- NIP-58 - Badges
- NIP-59 - Gift wrap
- NIP-60 - Cashu wallets
- NIP-61 - Nutzaps
- NIP-65 - Relay list metadata
- NIP-66 - Relay Discovery and Liveness Monitoring
- NIP-70 - Protected Events
- NIP-72 - Moderated Communities
- NIP-73 - External Content IDs
- NIP-77 - Negentropy Syncing
- NIP-78 - Arbitrary Custom App Data
- NIP-86 - Relay Management API
- NIP-87 - Ecash Mint Discoverability
- NIP-89 - Recommended Application Handlers
- NIP-90 - Data Vending Machine
- NIP-92 - Media Attachments
- NIP-94 - File Metadata
- NIP-98 - HTTP auth
- NIP-99 - Classified Listings
- NIP-B7 - Blossom media
NIP-04 (legacy encrypted DMs) is deprecated and not supported.
Do not hesitate to open an issue or pull request!