Skip to content

Conversation

@seichris
Copy link

@seichris seichris commented Oct 9, 2025

This PR is adding a farcaster service that verifies if a farcaster user is followed by at least one out of a set of 'legit' accounts.

Technically this is different to other scripts, in that it

  1. first sends one request to get the user's FID
  2. then uses the FID to get the user's followers
  3. and matches them against TARGET_USERNAMES
    i. TARGET_USERNAMES could be extended to some social graph protocol
  4. Finally the prove is followedBy: true.

TODO:

  • Proxy needs to allow notarization to work?!
  • Still need to optimize the maxSentData and the non-needed headers.
  • We could abstract the request logic from the schema. onStart and onRequestsCaptured and maybe also logic for requests that we send
  • Right now we use the scripting permission to send the first request. Alternatively we could
    • navigate to the actual /followers page and capture with RequestRecorder
    • use the content script. But then we need to add the farcaster url to content_scripts matches
    • direct fetch() from sidepanel, but we would need to get the auth headers
    • TLSNotary.transcript(). Too expensive

@seichris seichris changed the title add farcaster service add farcaster service - social graph verification Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant