mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 08:22:24 +00:00
Implements `scripts/agent/interop-test.mjs` to validate Nostr event schemas and client publishing against public relays. - Uses ephemeral keys (generated via `nostr-tools`) for safety. - Connects to `wss://relay.damus.io` and `wss://nos.lol` for testing. - Verifies: - Video Post creation (via `buildVideoPostEvent`) and publishing. - View Event creation (via `buildViewEvent`) and publishing. - Direct Message sending and decryption (using client's encrypted DM logic). - Includes necessary Node.js polyfills (`WebSocket`, `crypto`, `localStorage`, `window`) to run browser-targeted client code.