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

This branch is 1 commit behind nostr-dev-kit/ndk:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ce788eb · Mar 29, 2025
Mar 29, 2025
Sep 30, 2024
Mar 18, 2025
Mar 29, 2025
Mar 19, 2025
Mar 19, 2025
Mar 19, 2025
Mar 29, 2025
Mar 29, 2025
Mar 14, 2025
Mar 14, 2025
Mar 19, 2025
Mar 25, 2025
Jan 29, 2025
Sep 24, 2023
Sep 24, 2023
Jun 24, 2024
Jan 29, 2025
Sep 22, 2023
Sep 24, 2023
Sep 30, 2024
Mar 16, 2023
Jan 13, 2025
Nov 19, 2024
Mar 18, 2025
Mar 20, 2025
Mar 19, 2025
Mar 20, 2025
Dec 2, 2024
Mar 19, 2025

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 95.0%
  • Svelte 4.5%
  • JavaScript 0.2%
  • CSS 0.1%
  • MDX 0.1%
  • HTML 0.1%