Problem
The EnhancedNostrProvider currently uses a hardcoded list of NIP-29 relays. This limits flexibility and makes it harder for users to interact with groups on different relays.
Current Implementation
- Hardcoded default NIP-29 relay list
- Pre-connects to all relays on startup (potential performance impact)
- Users cannot specify custom relays for specific groups
Proposed Improvements
Benefits
- More flexible relay management
- Better performance (no pre-connecting to unused relays)
- Support for custom/private group relays
- User control over relay preferences
Implementation Ideas
- Parse relay info from naddr identifiers
- Add relay management UI
- Implement relay connection pooling
- Add relay performance metrics
Files Affected
src/components/EnhancedNostrProvider.tsx
- Potentially new relay management components
Tags: #nip29
Problem
The EnhancedNostrProvider currently uses a hardcoded list of NIP-29 relays. This limits flexibility and makes it harder for users to interact with groups on different relays.
Current Implementation
Proposed Improvements
Benefits
Implementation Ideas
Files Affected
src/components/EnhancedNostrProvider.tsxTags: #nip29