+
+
+
+```
+
+## Troubleshooting
+
+### Common Issues
+
+1. **Connection Not Established**
+ - Check if relay hub is initialized in App.vue
+ - Verify relay URLs in configuration
+ - Check browser console for connection errors
+
+2. **Subscriptions Not Working**
+ - Ensure connection is established before subscribing
+ - Verify subscription filters are correct
+ - Check if unsubscribe function is called prematurely
+
+3. **Performance Issues**
+ - Monitor number of active subscriptions
+ - Use appropriate filter limits
+ - Clean up unused subscriptions
+
+### Debug Tools
+
+The relay hub provides several debugging capabilities:
+
+```typescript
+// Check connection status
+console.log('Connected:', relayHub.isConnected.value)
+console.log('Relay count:', relayHub.totalRelayCount)
+
+// Monitor relay health
+console.log('Health:', relayHub.connectionHealth.value)
+
+// Check specific relay status
+const status = relayHub.getRelayStatus('wss://relay.example.com')
+console.log('Relay status:', status)
+```
+
+## Conclusion
+
+The central relay hub architecture provides a robust, efficient, and maintainable way to manage Nostr relay connections across the Ario application. By following the integration patterns outlined in this document, components can easily leverage the relay hub's capabilities while maintaining clean separation of concerns and optimal performance.
+
+For questions or issues with relay hub integration, refer to the existing implementations in `useNostrChat.ts` and `useMarket.ts` as reference examples.