Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and clarify docs on indexers; remove indexer setup walkthroughs #238

Merged
merged 23 commits into from
Jan 5, 2024

Conversation

timothymcmackin
Copy link
Collaborator

@timothymcmackin timothymcmackin commented Jan 2, 2024

  • Update info on indexers
  • Remove the "self-study" part and make it a tutorial or an article later: 99e0425
  • Remove topic on setting up custom indexers because that's covered on opentezos

We could consider removing the "Where indexers are used" and "Data available on indexers" sections, too.

@timothymcmackin timothymcmackin self-assigned this Jan 2, 2024
Copy link

vercel bot commented Jan 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-staging ✅ Ready (Inspect) Visit Preview Jan 3, 2024 3:24pm

@timothymcmackin timothymcmackin changed the title [wip] Update and clarify docs on indexers Update and clarify docs on indexers; remove indexer setup walkthroughs Jan 2, 2024
@timothymcmackin timothymcmackin marked this pull request as ready for review January 2, 2024 22:47
@timothymcmackin timothymcmackin requested a review from a team as a code owner January 2, 2024 22:47

## A simple explanation of how indexers work
- [Que Pasa](https://github.com/tzConnectBerlin/que-pasa)
Copy link

@dmirgaleev dmirgaleev Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest commit for Que Pasa 2 year ago. Perhaps it's better to check if it works before.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'm going through these instructions on opentezos to see if I can get que pasa running:
https://opentezos.com/dapp/indexers/que_pasa/

Copy link
Collaborator Author

@timothymcmackin timothymcmackin Jan 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got que-pasa to work with some hacks:

  • It doesn't like that some RPCs return 404s including the data, so I used https://rpc.tzbeta.net per your suggestion
  • --enable-bcd doesn't seem to work (it throws timeout errors), so I didn't use it
  • I had to manually go into config.rs and set NODE_URL and DATABASE_URL because it doesn't seem to respect environment variables

But after all that I can run it and see it populate the database with data about the contract.

@timothymcmackin timothymcmackin merged commit 31b71c1 into staging Jan 5, 2024
1 check passed
@timothymcmackin timothymcmackin deleted the indexers branch January 5, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants