use custom nostr sdk

This commit is contained in:
2026-05-01 09:13:34 +07:00
parent 76050b5410
commit 3376e71bda
3 changed files with 126 additions and 48 deletions
@@ -24,11 +24,11 @@ class NostrViewModel(
val isCreating = _isCreating.asStateFlow()
fun initAndConnect(dbPath: String) {
// Initialize nostr client
nostr.init(dbPath)
viewModelScope.launch {
try {
// Initialize nostr client
nostr.init(dbPath)
// Connect to bootstrap relays
nostr.connect()