Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch Farcaster data from Neynar #87

Open
3 of 4 tasks
DistributedDoge opened this issue Jun 13, 2024 · 2 comments
Open
3 of 4 tasks

Fetch Farcaster data from Neynar #87

DistributedDoge opened this issue Jun 13, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@DistributedDoge
Copy link
Collaborator

DistributedDoge commented Jun 13, 2024

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:

  • Estimate how many compute units are consumed per each API request
  • NeynarAPI resource to interact with an API
  • 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 DistributedDoge self-assigned this Jun 13, 2024
@DistributedDoge DistributedDoge added the enhancement New feature or request label Jun 13, 2024
@davidgasquez
Copy link
Owner

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

Any thoughts on how to use the writes feature? 👀

@DistributedDoge
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants