Vector Core feature overview
mastervector-core is the headless engine for Vector, providing the following protocol logic:
- NIP-17 gift-wrapped DMs: Support for sending, replying, editing, deleting, reactions (including NIP-30 custom emojis), typing indicators, and read states.
- Communities (Concord): An end-to-end-encrypted Discord-style protocol over Nostr featuring epoch-keyed channels, roles, capabilities, invites, and bans/kicks with read-cut rekeys.
- Encrypted files: NIP-96 / Blossom uploads with progress tracking, retries, and server failover. Uses AES-GCM at rest and hash-based deduplication. Also supports unencrypted public-image uploads for avatars/banners.
- Profiles: Fetching, updating, status management, blocking, local nicknames, and a prioritized background sync queue.
- Storage & Crypto: Per-account SQLite storage with atomic migrations, a
GuardedKeyvault for secrets, Argon2id, AES-GCM, ChaCha20, and SIMD-accelerated hex operations. - Resilience: NIP-77 negentropy sync and an event-driven relay health monitor for automatic reconnection and data recovery.