Custom-Indexer tutorial not populating postgres db with transaction info #509
Unanswered
oscarthedev15
asked this question in
Questions
Replies: 1 comment 5 replies
-
Hi thanks for trying out the indexer template, since you can create message successfully on the UI but not show up in DB, this is probably frontend is using a different contract. The contract address used by frontend is And also check frontend is reading from the right db? i.e. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Devs,
https://aptos.dev/en/build/create-aptos-dapp/templates/custom-indexer
i followed this tutorial and built the dapp with the indexer. The database migrations work correctly and then the docker image is run, the chain ID is updated. (so I know the db connection is correct)
What is not working is the db is not being updated for messages when i make transactions on the contract i deployed. I confirmed the starting version and the contract address is correct in the indexer config.yml file. My aptos build api key is correct as well. The db is not writing in any table relating to the transactions created.
the front end application is creating messages perfectly fine but they are not populating in the db and therefore not showing up on the ui.
any and all help is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions