Skip to content

nostr-dev-kit/ndk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NDK

drawing

NDK is a nostr development kit that makes the experience of building Nostr-related applications, whether they are relays, clients, or anything in between, better, more reliable and overall nicer to work with than existing solutions.

Features

NIPs support

  • NIP-01
  • NIP-04: Encryption support
  • NIP-07: Browser extension signer adapter
  • NIP-17: Gift-wrap DMs
  • NIP-18: Repost + Generic Reposts
  • NIP-22: Generic Comments
  • NIP-23: Long-form event wrapper + validation
  • NIP-29: Simple group event wrappers + validation
  • NIP-42: Relay authentication
  • NIP-44: Encryption support
  • NIP-46: Remote signing
    • Permission tokens
    • OAuth flow
  • NIP-47: Nostr Wallet Connect
  • NIP-57: Zaps
    • LUD06
    • LUD16
  • NIP-59: Gift wraps
  • NIP-60: Nutsack wallet
  • NIP-61: Nutzaps
  • NIP-65: Contacts' Relay list
  • NIP-89: Application Handlers
  • NIP-90: Data Vending Machines

Other stuff

  • Caching adapters

    • Server-side
    • Client-side
      • IndexDB (Dexie)
      • SQLite (on mobile)
  • Subscription Management

    • Auto-grouping queries
    • Auto-closing subscriptions
    • Reactive subscriptions
  • Signing Adapters

    • Private key
    • Browser extension
    • nsecBunker
  • Relay discovery

    • Outbox-model (NIP-65)
    • Implicit relays discovery following pubkey usage
    • Implicit relays discovery following t tag usage
    • Explicit relays blacklist

Documentation

See NDK Documentation for documentation on how to use NDK.

Real-world uses of NDK

See REFERENCES.md for a list of projects using NDK to see how others are using it.