mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-23 01:01:27 +00:00
1.3 KiB
1.3 KiB
NDK (Nostr Development Kit) Documentation
This section contains technical documentation specific to the Nostr Development Kit (NDK) implementation in the POWR app.
Key Documents
- Comprehensive Guide - Complete reference for NDK implementation
- Subscription Analysis - Analysis of subscription patterns and solutions
- Encoding and Decoding - NIP-19 encoding and decoding processes
Key NDK Concepts
NDK is the primary library we use for Nostr protocol integration. It provides:
- Connection and relay management
- Event creation, signing, and publishing
- Subscription management for receiving events
- User management and profile handling
- NIP-19 encoding and decoding utilities
Implementation in POWR
Our implementation of NDK follows these key principles:
- Singleton state management via Zustand store
- Proper subscription lifecycle management
- Centralized relay configuration
- Clear authentication flow
- Simplified implementation for MVP needs
Related Documentation
- Social Implementation - How NDK is used in social features
- Authentication Design - Authentication architecture
Last Updated: 2025-03-25