gitcoin-grants-data-portal icon indicating copy to clipboard operation
gitcoin-grants-data-portal copied to clipboard

Fetch Farcaster data from Neynar

Open DistributedDoge opened this issue 1 year ago • 2 comments

Neynar provides good source of farcaster data accessible via bulk REST queries. Using that I can scan ETH addresses in batches of 350 to return associated stats.

Interesting information to grab:

  • FarcasterID for any ethereum address
  • follower and follows count
  • activity_status and power_user_badge

This answers questions such as:

  • how many donors to round X or grant Y actually use farcaster?
  • as grant manager, are applicants to my round on same "social media power-level"?
  • as grantee how does farcaster following compare to donations?

TODO:

  • [x] Estimate how many compute units are consumed per each API request
  • [x] NeynarAPI resource to interact with an API
  • [x] farcaster_profiles asset with rough stats display_name, following_count, follower_count for Gitcoin grantees
  • [ ] farcaster_channels asset that tracks popularity of some topics like Gitcoin / Giveth / Optimism

Alternative would be to grab this data from os-observer, but I feel Neynar subscription is more flexible and allows for writes to Farcaster as well!

DistributedDoge avatar Jun 13 '24 00:06 DistributedDoge

I feel Neynar subscription is more flexible and allows for writes to Farcaster as well!

Any thoughts on how to use the writes feature? :eyes:

davidgasquez avatar Jun 13 '24 15:06 davidgasquez

Using POST cast endpoint we can have a bot that posts weekly status updates in style used by Gitcoin for major rounds.

Something like that but focused on growth not totals:

Allo Growth since last week: 4 new rounds 20 new projects (5 use farcaster), 200 new donors (25 use farcaster), 2000 new donations.

DistributedDoge avatar Jun 13 '24 17:06 DistributedDoge