Skip to content
/ ndk Public
forked from nostr-dev-kit/ndk

Nostr Development Kit with gossip-style behavior

License

Notifications You must be signed in to change notification settings

AreaLayer/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.

About

Nostr Development Kit with gossip-style behavior

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.7%
  • Svelte 5.8%
  • JavaScript 0.2%
  • CSS 0.1%
  • MDX 0.1%
  • HTML 0.1%