lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

commit 8027ab38508b9eb465452de9267ee82ebcc18874
parent 23c51be239f0aaad007c1bf5ded7fa0ad70d3a1f
Author: triesap <tyson@radroots.org>
Date:   Thu, 11 Jun 2026 17:54:08 -0700

sdk: use canonical production relay

- set the SDK production relay default to wss://radroots.org
- align SDK relay tests with the canonical production host
- update NDB relay source examples to the same host
- validate radroots_sdk and radroots_nostr_ndb through the Nix shell

Diffstat:
Mcrates/nostr_ndb/src/ndb.rs | 4++--
Mcrates/nostr_ndb/src/runtime_adapter.rs | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/crates/nostr_ndb/src/ndb.rs b/crates/nostr_ndb/src/ndb.rs @@ -448,9 +448,9 @@ mod tests { RadrootsNostrNdbIngestSource::client() ); assert_eq!( - RadrootsNostrNdbIngestSource::relay("wss://relay.radroots.org"), + RadrootsNostrNdbIngestSource::relay("wss://radroots.org"), RadrootsNostrNdbIngestSource::Relay { - relay_url: Some("wss://relay.radroots.org".into()) + relay_url: Some("wss://radroots.org".into()) } ); assert_eq!( diff --git a/crates/nostr_ndb/src/runtime_adapter.rs b/crates/nostr_ndb/src/runtime_adapter.rs @@ -80,7 +80,7 @@ mod tests { let ndb = RadrootsNostrNdb::open(config).expect("database should open"); let store = RadrootsNostrNdbEventStoreAdapter::new(ndb) .with_source(RadrootsNostrNdbIngestSource::relay( - "wss://relay.radroots.org", + "wss://radroots.org", )) .into_event_store();