devinaconley / python-framelib

framelib is a lightweight library for building farcaster frames using python and flask
https://python-frame.vercel.app
20 stars 1 forks source link

Use hub API for validating frame messages #2

Closed Ethspresso closed 7 months ago

Ethspresso commented 8 months ago

I run a hub and would like to use that for validating frame messages instead of Neynar.

The relevant Hubble API is the validateMessage endpoint: https://www.thehubble.xyz/docs/httpapi/message.html#validatemessage

While trying to get this to work I stumbled on what the binary post message body should look like. Not sure whether it requires gRPC stubs from the Hubble repo to extract the relevant fields in the frame message. Would love for you to take a look, thank you!

devinaconley commented 7 months ago

thanks for the ticket @Ethspresso

implemented here #5