using-nostr
Installation
SKILL.md
NOSTR Posting Skill
Using nostr-sdk library
Source: https://github.com/besoeasy/nostr-sdk
Overview
Post messages, send encrypted DMs, and interact with the Nostr decentralized social protocol using minimal direct exports from the nostr-sdk module.
Installation:
npm install nostr-sdk
Key Concepts:
- nsec: Private key in bech32 format (starts with
nsec1) - npub: Public key in bech32 format (starts with
npub1) - Relays: WebSocket servers that propagate Nostr events
- Events: Signed JSON objects representing posts, DMs, etc.
- POW: Proof of Work (mining) to reduce spam