gmG
Convex Community8mo ago
3 replies
gm

is there a recommend way to sync a separate postgresdb with convex?

I'm working on a crypto based chat application that takes in a user mapping depending on some onchain state. To get the onchain state, I am running my own indexer which stores (apart from metadata) these indexed values in postgres. The indexer (https://ponder.sh/docs/production/railway) currently only supports writing to postgres.

Is it possible to somehow sync state between convex and this postgres db I run? It would only need to be one direction, from postgres -> convex and I can use convex as the source of truth for the application state
Host a Ponder app on Railway
Deploy on Railway
Was this page helpful?