feat: add simple workspace

This commit is contained in:
2025-12-11 10:44:45 +07:00
parent b9093f49a0
commit 187e53b3a2
7 changed files with 337 additions and 33 deletions

View File

@@ -88,6 +88,11 @@ impl NostrRegistry {
}
}
/// Get the nostr client instance
pub fn client(&self) -> Client {
self.client.clone()
}
/// Establish connection to the bootstrap relays
async fn connect(client: &Client) {
// Get all bootstrapping relays
@@ -103,9 +108,4 @@ impl NostrRegistry {
// Connect to all added relays
client.connect().await;
}
/// Get the nostr client instance
pub fn client(&self) -> Client {
self.client.clone()
}
}