architecture
Installation
SKILL.md
Keychat is a secure messaging app with a unique architecture. When explaining or working with the codebase, understand these key components:
Core Technologies
| Technology | Purpose | Implementation |
|---|---|---|
| Nostr Protocol | Message delivery/storage | lib/nostr-core/, WebSocket connections |
| Signal Protocol | 1:1 E2E encryption | api_signal.rs via FFI |
| MLS Protocol | Group E2E encryption | api_mls.rs via FFI |
| Bitcoin Ecash | Micropayments to relays | api_cashu.rs, keychat_ecash/ |
Package Structure
packages/
├── app/ # Main Flutter app
├── keychat_ecash/ # Ecash wallet functionality
└── keychat_rust_ffi_plugin/ # Native crypto via Rust