diff options
| author | Adam Soltys <[email protected]> | 2026-06-28 09:28:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-28 09:28:18 -0700 |
| commit | 96d9b7ee6914b157a17e078cfe597cb40f35c9e2 (patch) | |
| tree | fc9d8c25d5f8fe250f5592dc2350ccd6add05c93 /src/wallet.js | |
| parent | d459e4aa196b356cfc24f2118cc1ef54eda7600e (diff) | |
| download | coinosv3-96d9b7ee6914b157a17e078cfe597cb40f35c9e2.tar.gz coinosv3-96d9b7ee6914b157a17e078cfe597cb40f35c9e2.zip | |
Route the gift DM to the recipient's published inbox relays
Discover where a recipient reads DMs before sending the claim code: prefer their
NIP-17 DM relay list (kind 10050), else their NIP-65 read relays (kind 10002),
unioned with the broad fallback set (so users without a list still get it). This
makes the locked-gift DM far more likely to land in the recipient's client.
Verified: resolves fiatjaf's real inbox relays; a key with no list returns none
and falls back to defaults.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/wallet.js')
0 files changed, 0 insertions, 0 deletions
