@orangecheck/nostr-core / DEFAULT_RELAYS
Variable: DEFAULT_RELAYS
const DEFAULT_RELAYS: readonly string[];
Defined in: index.ts:75
Default relay set for OrangeCheck family Nostr publishes + queries.
Frozen at runtime; consumers MAY pass an explicit relays arg to any
function in this package to override.
Example
import { DEFAULT_RELAYS, publishEvent } from '@orangecheck/nostr-core';
const results = await publishEvent(myEvent);
// → publishes to all 5 relays in DEFAULT_RELAYS in parallel
console.log(`accepted on ${results.filter(r => r.ok).length}/${results.length}`);