Files
welshman/packages/util
2025-04-02 11:42:10 -07:00
..
2025-03-31 10:17:31 -07:00
2025-04-02 08:54:50 -07:00
2025-02-25 14:34:49 -08:00
2024-12-13 14:16:38 -08:00
2025-04-02 10:48:51 -07:00
2025-04-02 10:15:49 -07:00
2024-12-13 14:16:38 -08:00

@welshman/util version

Some nostr-specific utilities. For the most part, these will not have side effects or manage state. Includes:

  • Event kind constants
  • A nostr address class
  • Utilities for working with nostr filters and tags
  • Helpers for working with zap events and lightning invoices
  • A Encryptable for ensuring payloads get encrypted
  • An implementation of an in-memory relay, backed by an events repository
  • Utilities for building events, validating signatures, and checking event type (replaceable, etc.)
  • Types and utilities for NIP 89 handlers
  • Types and utilities for NIP 51 lists
  • Types and utilities for NIP 01 profile metadata
  • Types and utilities for NIP 11 relay profiles