vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
(Moving this to a separate thread because it's not documentation-related and the original thread was about docs.) The lack of public nodes is a great example of what I described in my previous post about priorities and how they affect devs. So, Farcaster does not offer public API endpoints at the moment. It has practically outsourced this to Neynar. Which is great (we don't want a single entity to do everything, do we?). But Neynar had to obviously set some limits, so they have introduced some minor changes in the requests (an extra header with an api key, and limit to response size), and the infra (the node sits behind a proxy of some sort that checks the api key. The side-effect is your standard code, implemented according to the docs, that used to work with hubs does not work with Neynar's hubs, not without modifications. Had the core FC team had to deal with the same problem, they would have probably ended up with the same solution Neynar did. But the solution would have been part of the API spec. And the code I wrote (take fcp for example) and tested with my local hub would work with Neynar out of the box. Now, a) I've spent hours trying to understand how to implement and debug the Neynar changes. b) I can't tell a user, here is a program to back up your casts, get a free key from Neynar to use/test it. c) Why even mention fcp, if I have to respond to most of the requests, "well, no you can't use it, unless you set up your hub, dedicate 2TB of disk space and wait for a couple of days to sync".
2 replies
1 recast
5 reactions

rish pfp
rish
@rish
outside of API key, what else do you have to change for Neynar? Our nodes are standard and work with the standard open source hub-nodejs library
3 replies
0 recast
1 reaction

Dan Romero pfp
Dan Romero
@dwr.eth
We run our own nodes -- which is also available to developers? I'm sure there are some minor things that can be improved here, but my sense is we're just misaligned on priorities. Most demand from developers is mini apps. This is the top priority. Next is access to the data which Neynar is great at doing. Third is building something lower level on the protocol which Neynar also supports pretty well. Coinbase Wallet with millions of users is coming on this stack. I don't think we're going to rotate into the lower level stuff without significant demand / signs it will drive growth. Chicken and egg. If we go make this 10/10, you and a few others will be happy, but we'll be in the same spot re: growth as today. So it's opportunity cost.
1 reply
0 recast
0 reaction