swarm/test
randogoth 582b0505cb Add NIP-19 (npub/nsec), NIP-05 verification, and arbitrary-pubkey profile fetch
- nip19.dart: bech32 encodeNpub/encodeNsec for raw keys (no TLV entities),
  verified against the canonical NIP-19 test vectors.
- nip05.dart: verifyNip05 with an injectable http.Client plus a pure
  nip05MatchesPubkey helper for the .well-known/nostr.json check.
- fetchProfileFor(fetcher, pubkey): fetches and parses any user's kind-0 into
  a typed NostrProfile (newest-wins), generalizing the own-key FetchProfile.
- Export all three from swarm.dart; unit tests for each (bech32 vectors,
  MockClient HTTP cases, fake-relay profile parsing).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 11:34:35 +03:00
..
fake_relay_connection.dart basic nostr actors 2026-06-07 16:45:43 +03:00
file_actor_test.dart binary file r/w 2026-06-07 16:18:52 +03:00
file_download_actor_test.dart file download actor 2026-06-08 12:33:37 +03:00
file_upload_actor_test.dart file upload actor 2026-06-08 11:08:00 +03:00
file_upload_integration_test.dart move xfay app secret to .env 2026-06-08 12:38:31 +03:00
geo_actor_test.dart geohash actor 2026-06-07 16:51:14 +03:00
nip05_test.dart Add NIP-19 (npub/nsec), NIP-05 verification, and arbitrary-pubkey profile fetch 2026-06-24 11:34:35 +03:00
nip19_test.dart Add NIP-19 (npub/nsec), NIP-05 verification, and arbitrary-pubkey profile fetch 2026-06-24 11:34:35 +03:00
nip46_signer_actor_test.dart nip46 remote signer actor 2026-06-08 15:27:31 +03:00
nostr_account_actor_test.dart nostr account actor 2026-06-08 12:25:26 +03:00
nostr_fetch_actor_test.dart basic nostr actors 2026-06-07 16:45:43 +03:00
nostr_fetch_integration_test.dart nostr fetch from relay test 2026-06-07 16:51:48 +03:00
nostr_profile_fetch_test.dart Add NIP-19 (npub/nsec), NIP-05 verification, and arbitrary-pubkey profile fetch 2026-06-24 11:34:35 +03:00
nostr_publish_actor_test.dart basic nostr actors 2026-06-07 16:45:43 +03:00
nostr_relay_integration_test.dart basic nostr actors 2026-06-07 16:45:43 +03:00
nostr_signer_actor_test.dart basic nostr actors 2026-06-07 16:45:43 +03:00
test_env.dart move xfay app secret to .env 2026-06-08 12:38:31 +03:00