Add a method to return a FID by an authorized verification address#645
Add a method to return a FID by an authorized verification address#645mehcode wants to merge 1 commit intofarcasterxyz:mainfrom
Conversation
Signed-off-by: Ryan Leckey <ryan@calaxy.com>
|
@mehcode is attempting to deploy a commit to the farcaster Team on Vercel. A member of the Team first needs to authorize it. |
|
Nice. Could you please add store and server level tests? |
|
I don't think this will work as auth addresses can be tied to multiple FIDs? Per the spec multiple addresses can be verified and added. So maybe this method should return all FIDs for the given address. |
I'm only exposing via API what was already done in the secondary indexes inside of the verification store. If that part needs correcting, I'd love some help in the right direction. Though maybe that should also be a separate PR. I can adjust this one to return a list response so the API is compatible with the fix.
Can you please link to an example of each and I'll give it a try? |
|
Ping @christopherwxyz @sanjayprabhu 🙏🏻 |
Implements farcasterxyz/protocol#244