Fetch Farcaster data from Neynar
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:
-
FarcasterIDfor any ethereum address -
followerandfollowscount -
activity_statusandpower_user_badge
This answers questions such as:
- how many donors to round
Xor grantYactually 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 unitsare consumed per each API request - [x]
NeynarAPIresource to interact with an API - [x]
farcaster_profilesasset with rough statsdisplay_name,following_count,follower_countfor Gitcoin grantees - [ ]
farcaster_channelsasset that tracks popularity of some topics likeGitcoin/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!
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:
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.