HomePhabricator
Diffusion Comm 793f26bcb99c

[lib] Introduce NeynarClient.getFarcasterUsernames and FCCache

Description

[lib] Introduce NeynarClient.getFarcasterUsernames and FCCache

Summary:
FCCache is modeled after ENSCache, as it serves a similar purpose: caching the results of lookups.

Depends on D11875

Test Plan:
I tested this in combination with later diffs on both keyserver and web:

  1. For keyserver, I tested that Farcaster usernames worked in notifs
  2. For web, I tested that Farcaster usernames were resolved in robotext

Reviewers: ginsu

Reviewed By: ginsu

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D11876

Details

Provenance
ashoatAuthored on May 4 2024, 2:23 PM
Reviewer
ginsu
Differential Revision
D11876: [lib] Introduce NeynarClient.getFarcasterUsernames and FCCache
Parents
rCOMM6525da5733ca: [lib] Rename Neynar types
Branches
Unknown
Tags
Unknown